@Module public class XmlInjectionTarget<X> extends java.lang.Object implements InjectionTarget<X>, DisplayableInjectionTarget
Constructor and Description |
---|
XmlInjectionTarget(ManagedBeanImpl<X> bean,
java.lang.reflect.Constructor<X> ctor,
Arg<X>[] newProgram,
ConfigProgram[] injectProgram) |
Modifier and Type | Method and Description |
---|---|
void |
dispose(X instance)
Call destroy
|
java.util.Set<InjectionPoint> |
getInjectionPoints()
Returns the injection points.
|
void |
inject(X instance,
CreationalContext<X> env)
Inject the bean.
|
void |
postConstruct(X instance)
PostConstruct initialization
|
void |
preDestroy(X instance)
Call destroy
|
X |
produce(CreationalContext<X> context)
Instantiate the bean.
|
java.lang.String |
toDisplayString() |
public XmlInjectionTarget(ManagedBeanImpl<X> bean, java.lang.reflect.Constructor<X> ctor, Arg<X>[] newProgram, ConfigProgram[] injectProgram)
public X produce(CreationalContext<X> context)
Producer
public void inject(X instance, CreationalContext<X> env)
InjectionTarget
inject
in interface InjectionTarget<X>
public void postConstruct(X instance)
InjectionTarget
postConstruct
in interface InjectionTarget<X>
public void preDestroy(X instance)
preDestroy
in interface InjectionTarget<X>
public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface Producer<X>
public java.lang.String toDisplayString()
toDisplayString
in interface DisplayableInjectionTarget