public class EjbInjectionTarget<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
bindInjection() |
void |
destroyInstance(T instance)
Remove an object.
|
InjectionTarget<T> |
getInjectionTarget()
Gets the injection target
|
PostConstructConfig |
getPostConstruct() |
PreDestroyConfig |
getPreDestroy() |
java.lang.reflect.Method |
getTimeoutMethod() |
TimerService |
getTimerService() |
<X> void |
initInstance(T instance,
InjectionTarget<T> target,
X proxy,
CreationalContextImpl<X> proxyEnv)
Initialize an instance
|
T |
newInstance() |
T |
newInstance(CreationalContextImpl<?> parentEnv) |
protected void |
postConstruct(T instance) |
void |
registerInjection() |
void |
setEnvLoader(java.lang.ClassLoader envLoader)
Sets the classloader for the EJB's private environment
|
void |
setInjectionTarget(InjectionTarget<T> injectionTarget)
Sets the injection target
|
void |
setPostConstruct(PostConstructConfig postConstruct) |
void |
setPreDestroy(PreDestroyConfig preDestroy) |
java.lang.String |
toString() |
public void setEnvLoader(java.lang.ClassLoader envLoader)
loader
- the environment classloaderpublic void setInjectionTarget(InjectionTarget<T> injectionTarget)
public InjectionTarget<T> getInjectionTarget()
public PostConstructConfig getPostConstruct()
public PreDestroyConfig getPreDestroy()
public void setPostConstruct(PostConstructConfig postConstruct)
public void setPreDestroy(PreDestroyConfig preDestroy)
public TimerService getTimerService()
public java.lang.reflect.Method getTimeoutMethod()
public void registerInjection()
public void bindInjection()
public T newInstance()
public T newInstance(CreationalContextImpl<?> parentEnv)
protected void postConstruct(T instance)
public <X> void initInstance(T instance, InjectionTarget<T> target, X proxy, CreationalContextImpl<X> proxyEnv)
public void destroyInstance(T instance)
public java.lang.String toString()
toString
in class java.lang.Object