com.interface21.ejb.access
Class AbstractSlsbInvokerInterceptor

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

public abstract class AbstractSlsbInvokerInterceptor
extends AbstractJndiLocator
implements org.aopalliance.MethodInterceptor, InitializingBean

Superclass for all AOP interceptors invoking EJBs.

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

Field Summary
protected static java.lang.String CREATE_METHOD
          Name of no arg create() method required on EJB homes, but not part of EJBLocalHome
 
Fields inherited from class com.interface21.jndi.AbstractJndiLocator
CONTAINER_PREFIX, logger
 
Constructor Summary
AbstractSlsbInvokerInterceptor()
           
 
Method Summary
protected  BeanWrapper getHomeBeanWrapper()
          We can get actual home from the BeanWrapper, if we ever need it
protected  void located(java.lang.Object o)
          Implementation of protected abstract method to cache the home wrapper.
 
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 org.aopalliance.MethodInterceptor
invoke
 
Methods inherited from interface com.interface21.beans.factory.InitializingBean
afterPropertiesSet
 

Field Detail

CREATE_METHOD

protected static final java.lang.String CREATE_METHOD
Name of no arg create() method required on EJB homes, but not part of EJBLocalHome
Constructor Detail

AbstractSlsbInvokerInterceptor

public AbstractSlsbInvokerInterceptor()
Method Detail

getHomeBeanWrapper

protected BeanWrapper getHomeBeanWrapper()
We can get actual home from the BeanWrapper, if we ever need it
Returns:
a BeanWrapper for the EJB home interface. This may be a local or remote home.

located

protected void located(java.lang.Object o)
Implementation of protected abstract method to cache the home wrapper.
Overrides:
located in class AbstractJndiLocator
See Also:
AbstractJndiLocator.located(java.lang.Object)


Rod Johnson and Spring contributors 2001-2003.