|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.inject.AbstractInterceptorBean<X>
com.caucho.config.inject.InterceptorRuntimeBean<X>
com.caucho.config.inject.InterceptorBean<X>
public class InterceptorBean<X>
InterceptorBean represents a Java interceptor
| Constructor Summary | |
|---|---|
InterceptorBean(java.lang.Class<X> type)
|
|
InterceptorBean(InjectManager beanManager,
java.lang.Class<X> type)
|
|
| Method Summary | |
|---|---|
X |
create(CreationalContext<X> creationalContext)
Creates a new instance for the Contextual's type. |
void |
destroy(X instance,
CreationalContext<X> env)
Destroys a bean instance |
Bean<X> |
getBean()
|
java.lang.Class<?> |
getBeanClass()
Returns the bean class. |
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()
|
| Methods inherited from class com.caucho.config.inject.InterceptorRuntimeBean |
|---|
equals, getMethod, getParent, getType, hashCode, intercept, intercepts, isAllowParent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InterceptorBean(InjectManager beanManager,
java.lang.Class<X> type)
public InterceptorBean(java.lang.Class<X> type)
| Method Detail |
|---|
public Bean<X> getBean()
getBean in class InterceptorRuntimeBean<X>public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers in interface Bean<X>getQualifiers in class InterceptorRuntimeBean<X>public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
getStereotypes in interface Bean<X>getStereotypes in class InterceptorRuntimeBean<X>public java.lang.String getName()
getName in interface Bean<X>getName in class InterceptorRuntimeBean<X>public boolean isNullable()
isNullable in interface Bean<X>isNullable in class InterceptorRuntimeBean<X>public boolean isAlternative()
isAlternative in interface Bean<X>isAlternative in class InterceptorRuntimeBean<X>public boolean isPassivationCapable()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in interface Bean<X>getScope in class InterceptorRuntimeBean<X>public java.util.Set<java.lang.reflect.Type> getTypes()
getTypes in interface Bean<X>getTypes in class InterceptorRuntimeBean<X>public java.lang.Class<?> getBeanClass()
Bean
getBeanClass in interface Bean<X>getBeanClass in class InterceptorRuntimeBean<X>public X create(CreationalContext<X> creationalContext)
Contextual
create in interface Contextual<X>create in class InterceptorRuntimeBean<X>creationalContext - the creation context used to support circular
references.
public void destroy(X instance,
CreationalContext<X> env)
destroy in interface Contextual<X>destroy in class InterceptorRuntimeBean<X>instance - the instance to destroypublic java.util.Set<java.lang.annotation.Annotation> getInterceptorBindings()
getInterceptorBindings in interface Interceptor<X>getInterceptorBindings in class InterceptorRuntimeBean<X>public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints in interface Bean<X>getInjectionPoints in class InterceptorRuntimeBean<X>public void init()
protected void introspect()
protected void introspectQualifiers(java.lang.annotation.Annotation[] annList)
public java.lang.String toString()
toString in class InterceptorRuntimeBean<X>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||