|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.xml.XmlInjectionTarget<X>
@Module public class XmlInjectionTarget<X>
Internal implementation for a Bean
Constructor Summary | |
---|---|
XmlInjectionTarget(ManagedBeanImpl<X> bean,
java.lang.reflect.Constructor<X> ctor,
Arg<X>[] newProgram,
ConfigProgram[] injectProgram)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlInjectionTarget(ManagedBeanImpl<X> bean, java.lang.reflect.Constructor<X> ctor, Arg<X>[] newProgram, ConfigProgram[] injectProgram)
Method Detail |
---|
public X produce(CreationalContext<X> context)
Producer
produce
in interface Producer<X>
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 void dispose(X instance)
dispose
in interface Producer<X>
public java.util.Set<InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface Producer<X>
public java.lang.String toDisplayString()
toDisplayString
in interface DisplayableInjectionTarget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |