public class InjectionTargetFilter<T> extends java.lang.Object implements InjectionTarget<T>, PassivationSetter
Constructor and Description |
---|
InjectionTargetFilter(InjectionTarget<T> next,
ConfigProgram init) |
Modifier and Type | Method and Description |
---|---|
void |
dispose(T instance)
Dispose the bean.
|
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the injection points.
|
void |
inject(T instance,
CreationalContext<T> ctx)
Inject the bean.
|
void |
postConstruct(T instance)
PostConstruct initialization
|
void |
preDestroy(T instance)
Call pre-destroy
|
T |
produce(CreationalContext<T> ctx)
Instantiate the bean.
|
void |
setPassivationId(java.lang.String id) |
java.lang.String |
toString() |
public InjectionTargetFilter(InjectionTarget<T> next, ConfigProgram init)
public T produce(CreationalContext<T> ctx)
Producer
public java.util.Set<InjectionPoint> getInjectionPoints()
Producer
getInjectionPoints
in interface Producer<T>
public void setPassivationId(java.lang.String id)
setPassivationId
in interface PassivationSetter
public void inject(T instance, CreationalContext<T> ctx)
InjectionTarget
inject
in interface InjectionTarget<T>
public void postConstruct(T instance)
InjectionTarget
postConstruct
in interface InjectionTarget<T>
public void preDestroy(T instance)
InjectionTarget
preDestroy
in interface InjectionTarget<T>
public void dispose(T instance)
Producer
public java.lang.String toString()
toString
in class java.lang.Object