public class InterceptorSelfBean<X> extends InterceptorRuntimeBean<X>
| Constructor and Description |
|---|
InterceptorSelfBean(java.lang.Class<X> type) |
| Modifier and Type | Method and Description |
|---|---|
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() |
equals, getBeanClass, getInjectionPoints, getInterceptorBindings, getMethod, getName, getParent, getQualifiers, getScope, getStereotypes, getType, getTypes, hashCode, intercept, intercepts, isAllowParent, isAlternative, isNullable, toStringpublic InterceptorSelfBean(java.lang.Class<X> type)
public Bean<X> getBean()
getBean in class InterceptorRuntimeBean<X>public X create(CreationalContext<X> cxt)
Contextualcreate 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