org.springframework.ejb.access
Class SimpleRemoteStatelessSessionProxyFactoryBean
org.springframework.jndi.AbstractJndiLocator
|
+--org.springframework.ejb.access.AbstractSlsbInvokerInterceptor
|
+--org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor
|
+--org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor
|
+--org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean
- public class SimpleRemoteStatelessSessionProxyFactoryBean
- extends SimpleRemoteSlsbInvokerInterceptor
- implements FactoryBean
Convenient factory for remote SLSB proxies.
If you want control over interceptor chaining, use an AOP ProxyFactoryBean
rather than rely on this class.
- Author:
- Rod Johnson
- Version: $Id: SimpleRemoteStatelessSessionProxyFactoryBean.java,v 1.6 2003/12/30 01:09:38 jhoeller Exp $
- Since: 09-May-2003
afterLocated
public void afterLocated()
getBusinessInterface
public Class getBusinessInterface()
- Returns the business interface of the EJB we're proxying.
getObject
public Object getObject()
getObjectType
public Class getObjectType()
isSingleton
public boolean isSingleton()
setBusinessInterface
public void setBusinessInterface(Class businessInterface)
- Set the business interface of the EJB we're proxying.
This* will normally be the superinterface of the EJB remote component interface.
Using a business methods interface is a best practice when implementing EJBs.
- Parameters:
- businessInterface - set the business interface of the EJB
to Class java.lang.Class- The business interface of the EJB we're proxying