|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.jndi.AbstractJndiLocator
org.springframework.ejb.access.AbstractSlsbInvokerInterceptor
Superclass for AOP interceptors invoking remote or local Stateless Session Beans.
Such an interceptor must be the last interceptor in the advice chain. In this case, there is no target object.
Field Summary |
Fields inherited from class org.springframework.jndi.AbstractJndiLocator |
CONTAINER_PREFIX, logger |
Constructor Summary | |
AbstractSlsbInvokerInterceptor()
|
Method Summary | |
protected void |
afterLocated()
Initialization hook after the AbstractJndiLocator's located callback. |
protected java.lang.Object |
create()
Invoke the create() method on the cached EJB home. |
protected java.lang.Object |
getCachedEjbHome()
Return the cached home object. |
protected void |
located(java.lang.Object jndiObject)
Implementation of AbstractJndiLocator's callback, to cache the home wrapper. |
void |
setCacheHome(boolean cacheHome)
Set whether to cache the EJB home object. |
Methods inherited from class org.springframework.jndi.AbstractJndiLocator |
afterPropertiesSet, getJndiEnvironment, getJndiName, getJndiTemplate, isResourceRef, lookup, setJndiEnvironment, setJndiName, setJndiTemplate, setResourceRef |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.aopalliance.intercept.MethodInterceptor |
invoke |
Constructor Detail |
public AbstractSlsbInvokerInterceptor()
Method Detail |
public void setCacheHome(boolean cacheHome)
Can be turned off to allow for hot redeploy of the target EJB respectively restart of the EJB container.
protected void located(java.lang.Object jndiObject)
located
in class AbstractJndiLocator
jndiObject
- object successfully retrieved from JNDIafterLocated()
protected void afterLocated()
located(java.lang.Object)
protected java.lang.Object getCachedEjbHome()
protected java.lang.Object create() throws javax.naming.NamingException, java.lang.reflect.InvocationTargetException
javax.naming.NamingException
java.lang.reflect.InvocationTargetException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |