|
||||||||||
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>
public class InterceptorRuntimeBean<X>
InterceptorBean represents a Java interceptor
Constructor Summary | |
---|---|
InterceptorRuntimeBean(InterceptorRuntimeBean<X> child,
java.lang.Class<X> type)
|
Method Summary | |
---|---|
X |
create(CreationalContext<X> cxt)
Creates a new instance for the Contextual's type. |
void |
destroy(X instance,
CreationalContext<X> env)
Destroys a bean instance |
boolean |
equals(java.lang.Object o)
|
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.reflect.Method |
getMethod(InterceptionType type)
Returns the bean's deployment type |
java.lang.String |
getName()
Returns the bean's name or null if the bean does not have a primary name. |
InterceptorRuntimeBean<?> |
getParent()
|
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.lang.Class<?> |
getType()
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
Returns the types that the bean implements |
int |
hashCode()
|
java.lang.Object |
intercept(InterceptionType type,
X instance,
InvocationContext ctx)
Invokes the callback |
boolean |
intercepts(InterceptionType type)
Returns the bean's deployment type |
boolean |
isAllowParent(InterceptionType type)
|
boolean |
isAlternative()
Returns true if the bean can be null |
boolean |
isNullable()
Returns true if the bean can be null |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InterceptorRuntimeBean(InterceptorRuntimeBean<X> child, java.lang.Class<X> type)
Method Detail |
---|
public Bean<X> getBean()
public java.lang.Class<?> getType()
public InterceptorRuntimeBean<?> getParent()
public boolean isAllowParent(InterceptionType type)
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
public java.lang.String getName()
public boolean isNullable()
public boolean isAlternative()
public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
public java.util.Set<java.lang.reflect.Type> getTypes()
public java.lang.Class<?> getBeanClass()
Bean
public X create(CreationalContext<X> cxt)
Contextual
cxt
- the creation context used to support circular
references.
public void destroy(X instance, CreationalContext<X> env)
instance
- the instance to destroypublic java.util.Set<java.lang.annotation.Annotation> getInterceptorBindings()
public boolean intercepts(InterceptionType type)
public java.lang.reflect.Method getMethod(InterceptionType type)
public java.util.Set<InjectionPoint> getInjectionPoints()
public java.lang.Object intercept(InterceptionType type, X instance, InvocationContext ctx)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |