public class InterceptorBean<X> extends InterceptorRuntimeBean<X>
| Constructor and Description |
|---|
InterceptorBean(java.lang.Class<X> type) |
InterceptorBean(InjectManager beanManager,
java.lang.Class<X> type) |
| Modifier and Type | Method and Description |
|---|---|
X |
create(<any> creationalContext) |
void |
destroy(X instance,
<any> env)
Destroys a bean instance
|
AnnotatedType |
getAnnotatedType() |
<any> |
getBean() |
java.lang.Class<?> |
getBeanClass() |
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the set of injection points, for validation.
|
java.util.Set<java.lang.annotation.Annotation> |
getInterceptorBindings()
Returns the bean's binding types
|
java.lang.String |
getName()
Returns the bean's name or null if the bean does not have a
primary name.
|
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Returns the bean's bindings
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Returns the bean's scope
|
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
Returns the bean's stereotypes
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
Returns the types that the bean implements
|
void |
init() |
protected void |
introspect() |
protected void |
introspectQualifiers(java.lang.annotation.Annotation[] annList) |
boolean |
isAlternative()
Returns true if the bean can be null
|
boolean |
isNullable()
Returns true if the bean can be null
|
boolean |
isPassivationCapable()
Returns true if the bean is serializable
|
java.lang.String |
toString() |
equals, getMethod, getParent, getType, hashCode, intercept, intercepts, isAllowParentpublic InterceptorBean(InjectManager beanManager, java.lang.Class<X> type)
public InterceptorBean(java.lang.Class<X> type)
public <any> getBean()
getBean in class InterceptorRuntimeBean<X>public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers in class InterceptorRuntimeBean<X>public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
getStereotypes in class InterceptorRuntimeBean<X>public java.lang.String getName()
getName in class InterceptorRuntimeBean<X>public boolean isNullable()
isNullable in class InterceptorRuntimeBean<X>public boolean isAlternative()
isAlternative in class InterceptorRuntimeBean<X>public boolean isPassivationCapable()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in class InterceptorRuntimeBean<X>public java.util.Set<java.lang.reflect.Type> getTypes()
getTypes in class InterceptorRuntimeBean<X>public java.lang.Class<?> getBeanClass()
getBeanClass in class InterceptorRuntimeBean<X>public X create(<any> creationalContext)
create in class InterceptorRuntimeBean<X>public void destroy(X instance, <any> env)
destroy in class InterceptorRuntimeBean<X>public java.util.Set<java.lang.annotation.Annotation> getInterceptorBindings()
getInterceptorBindings in class InterceptorRuntimeBean<X>public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints in class InterceptorRuntimeBean<X>public void init()
protected void introspect()
protected void introspectQualifiers(java.lang.annotation.Annotation[] annList)
public AnnotatedType getAnnotatedType()
public java.lang.String toString()
toString in class InterceptorRuntimeBean<X>