public abstract class AbstractInjectionTarget<X> extends java.lang.Object implements InjectionTarget<X>
Constructor and Description |
---|
AbstractInjectionTarget() |
Modifier and Type | Method and Description |
---|---|
void |
dispose(X instance)
Call pre-destroy
|
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the injection points.
|
void |
inject(X instance,
CreationalContext<X> ctx)
Inject the bean.
|
void |
postConstruct(X instance)
PostConstruct initialization
|
void |
preDestroy(X instance)
Call destroy
|
abstract X |
produce(CreationalContext<X> ctx)
Instantiate the bean.
|
public abstract X produce(CreationalContext<X> ctx)
public void inject(X instance, CreationalContext<X> ctx)
inject
in interface InjectionTarget<X>
public void postConstruct(X instance)
postConstruct
in interface InjectionTarget<X>
public void dispose(X instance)
public void preDestroy(X instance)
preDestroy
in interface InjectionTarget<X>
public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface Producer<X>