org.springframework.ejb.access
Class LocalStatelessSessionProxyFactoryBean

org.springframework.jndi.AbstractJndiLocator
  |
  +--org.springframework.ejb.access.AbstractSlsbInvokerInterceptor
        |
        +--org.springframework.ejb.access.LocalSlsbInvokerInterceptor
              |
              +--org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean

public class LocalStatelessSessionProxyFactoryBean
extends LocalSlsbInvokerInterceptor
implements FactoryBean

Convenient factory for local SLSB proxies. If you want control over interceptor chaining, use an AOP ProxyFactoryBean rather than to rely on this class.

Author:
Rod Johnson
Version: $Id: LocalStatelessSessionProxyFactoryBean.java,v 1.6 2003/12/30 01:10:04 jhoeller Exp $
Since: 09-May-2003

Fields inherited from class org.springframework.jndi.AbstractJndiLocator
CONTAINER_PREFIX

Method Summary
 voidafterLocated()
           
 ClassgetBusinessInterface()
           
 ObjectgetObject()
           
 ClassgetObjectType()
           
 booleanisSingleton()
           
 voidsetBusinessInterface(Class clazz)
          Set the business interface of the EJB we're proxying

Methods inherited from class org.springframework.ejb.access.LocalSlsbInvokerInterceptor
invoke

Methods inherited from class org.springframework.jndi.AbstractJndiLocator
afterPropertiesSet, getJndiName, getJndiTemplate, isInContainer, setInContainer, setJndiName, setJndiTemplate

Method Detail

afterLocated

public void afterLocated()

getBusinessInterface

public Class getBusinessInterface()
Returns: the business interface of the EJB. Note that this will normally be the superinterface of the EJBLocal interface. Using a business methods interface is a best practice when implementing EJBs.

getObject

public Object getObject()

getObjectType

public Class getObjectType()

isSingleton

public boolean isSingleton()

setBusinessInterface

public void setBusinessInterface(Class clazz)
Set the business interface of the EJB we're proxying
Parameters:
clazz - set the business interface of the EJB

Association Links

to Class java.lang.Class

The business interface of the EJB we're proxying.