com.interface21.ejb.access
Class SimpleRemoteSlsbInvokerInterceptor

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

public class SimpleRemoteSlsbInvokerInterceptor
extends AbstractRemoteSlsbInvokerInterceptor

Basic remote invoker for EJBs. "Creates" a new EJB instance for each invocation.

Version:
$Revision: 1.1 $

Fields inherited from class com.interface21.ejb.access.AbstractSlsbInvokerInterceptor
CREATE_METHOD
 
Fields inherited from class com.interface21.jndi.AbstractJndiLocator
CONTAINER_PREFIX, logger
 
Constructor Summary
SimpleRemoteSlsbInvokerInterceptor()
          JavaBean constructor
SimpleRemoteSlsbInvokerInterceptor(java.lang.String jndiName, boolean inContainer)
          Convenient constructor for programmatic use.
 
Method Summary
 java.lang.Object invoke(org.aopalliance.MethodInvocation invocation)
          This is the last invoker in the chain
 
Methods inherited from class com.interface21.ejb.access.AbstractRemoteSlsbInvokerInterceptor
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

SimpleRemoteSlsbInvokerInterceptor

public SimpleRemoteSlsbInvokerInterceptor()
JavaBean constructor

SimpleRemoteSlsbInvokerInterceptor

public SimpleRemoteSlsbInvokerInterceptor(java.lang.String jndiName,
                                          boolean inContainer)
                                   throws org.aopalliance.AspectException
Convenient constructor for programmatic use.
Parameters:
jndiName -  
inContainer -  
Throws:
org.aopalliance.AspectException -  
Method Detail

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.