|
||||||||||
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.InterceptorSelfBean<X>
public class InterceptorSelfBean<X>
InterceptorBean represents a Java interceptor
Constructor Summary | |
---|---|
InterceptorSelfBean(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 |
Bean<X> |
getBean()
|
Methods inherited from class com.caucho.config.inject.InterceptorRuntimeBean |
---|
equals, getBeanClass, getInjectionPoints, getInterceptorBindings, getMethod, getName, getParent, getQualifiers, getScope, getStereotypes, getType, getTypes, hashCode, intercept, intercepts, isAllowParent, isAlternative, isNullable, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InterceptorSelfBean(java.lang.Class<X> type)
Method Detail |
---|
public Bean<X> getBean()
getBean
in class InterceptorRuntimeBean<X>
public X create(CreationalContext<X> cxt)
Contextual
create
in interface Contextual<X>
create
in class InterceptorRuntimeBean<X>
cxt
- 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 destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |