com.interface21.ejb.access
Class LocalSlsbInvokerInterceptor

java.lang.Object
  |
  +--com.interface21.jndi.AbstractJndiLocator
        |
        +--com.interface21.ejb.access.AbstractSlsbInvokerInterceptor
              |
              +--com.interface21.ejb.access.LocalSlsbInvokerInterceptor
All Implemented Interfaces:
InitializingBean, org.aopalliance.Interceptor, org.aopalliance.MethodInterceptor
Direct Known Subclasses:
LocalStatelessSessionProxyFactoryBean

public class LocalSlsbInvokerInterceptor
extends AbstractSlsbInvokerInterceptor

Interceptor that invokes a local SLSB, after caching the home object. A local EJB home can never go stale.

Version:
$Id: LocalSlsbInvokerInterceptor.java,v 1.1 2003/06/13 13:40:37 jhoeller Exp $
Author:
Rod Johnson

Fields inherited from class com.interface21.ejb.access.AbstractSlsbInvokerInterceptor
CREATE_METHOD
 
Fields inherited from class com.interface21.jndi.AbstractJndiLocator
CONTAINER_PREFIX, logger
 
Constructor Summary
LocalSlsbInvokerInterceptor()
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.MethodInvocation invocation)
          This is the last invoker in the chain
protected  javax.ejb.EJBLocalObject newSessionBeanInstance()
           
 
Methods inherited from class com.interface21.ejb.access.AbstractSlsbInvokerInterceptor
getHomeBeanWrapper, located
 
Methods inherited from class com.interface21.jndi.AbstractJndiLocator
afterPropertiesSet, getJndiName, getJndiTemplate, isInContainer, setInContainer, setJndiName, setJndiTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.interface21.beans.factory.InitializingBean
afterPropertiesSet
 

Constructor Detail

LocalSlsbInvokerInterceptor

public LocalSlsbInvokerInterceptor()
Method Detail

newSessionBeanInstance

protected javax.ejb.EJBLocalObject newSessionBeanInstance()

invoke

public java.lang.Object invoke(org.aopalliance.MethodInvocation invocation)
                        throws java.lang.Throwable
This is the last invoker in the chain
See Also:
org.aopalliance.MethodInterceptor#invoke(org.aopalliance.Invocation)


Rod Johnson and Spring contributors 2001-2003.