org.jboss.weld.metadata.cache
Class InterceptorBindingModel<T extends Annotation>

java.lang.Object
  extended by org.jboss.weld.metadata.cache.AnnotationModel<T>
      extended by org.jboss.weld.metadata.cache.InterceptorBindingModel<T>

public class InterceptorBindingModel<T extends Annotation>
extends AnnotationModel<T>

Author:
Marius Bogoevici

Field Summary
 
Fields inherited from class org.jboss.weld.metadata.cache.AnnotationModel
valid
 
Constructor Summary
InterceptorBindingModel(Class<T> type, ClassTransformer transformer)
           
 
Method Summary
protected  void check()
           
 Set<Annotation> getInheritedInterceptionBindingTypes()
          Retrieves the transitive interceptor binding types that are inherited by this interceptor binding, as per section 9.1.1 of the specification, "Interceptor binding types with additional interceptor bindings"
 Set<Annotation> getMetaAnnotations()
           
protected  Set<Class<? extends Annotation>> getMetaAnnotationTypes()
          Gets the meta-annotation that should be present
protected  void init()
          Initializes the type and validates it
protected  void initInterceptionBindingTypes()
           
protected  void initNonBindingTypes()
           
 boolean isEqual(Annotation instance, Annotation other)
           
 boolean isEqual(Annotation instance, Annotation other, boolean includeNonBindingTypes)
           
 
Methods inherited from class org.jboss.weld.metadata.cache.AnnotationModel
getAnnotatedAnnotation, getRawType, initType, initValid, isValid, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterceptorBindingModel

public InterceptorBindingModel(Class<T> type,
                               ClassTransformer transformer)
Method Detail

init

protected void init()
Description copied from class: AnnotationModel
Initializes the type and validates it

Overrides:
init in class AnnotationModel<T extends Annotation>

getMetaAnnotationTypes

protected Set<Class<? extends Annotation>> getMetaAnnotationTypes()
Description copied from class: AnnotationModel
Gets the meta-annotation that should be present

Specified by:
getMetaAnnotationTypes in class AnnotationModel<T extends Annotation>
Returns:

getMetaAnnotations

public Set<Annotation> getMetaAnnotations()

initNonBindingTypes

protected void initNonBindingTypes()

initInterceptionBindingTypes

protected void initInterceptionBindingTypes()

check

protected void check()
Overrides:
check in class AnnotationModel<T extends Annotation>

getInheritedInterceptionBindingTypes

public Set<Annotation> getInheritedInterceptionBindingTypes()
Retrieves the transitive interceptor binding types that are inherited by this interceptor binding, as per section 9.1.1 of the specification, "Interceptor binding types with additional interceptor bindings"

Returns:
a set of transitive interceptor bindings, if any

isEqual

public boolean isEqual(Annotation instance,
                       Annotation other)

isEqual

public boolean isEqual(Annotation instance,
                       Annotation other,
                       boolean includeNonBindingTypes)


Copyright © 2013 Seam Framework. All Rights Reserved.