|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.ejb.server.EjbInjectionTarget<T>
public class EjbInjectionTarget<T>
Creates an configures an ejb instance
Method Summary | ||
---|---|---|
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()
|
|
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |