org.jboss.ejb3.proxy.factory.session.stateful
Interface StatefulSessionProxyFactory

All Superinterfaces:
ProxyFactory, SessionProxyFactory
All Known Implementing Classes:
StatefulSessionLocalProxyFactory, StatefulSessionProxyFactoryBase, StatefulSessionRemoteProxyFactory

public interface StatefulSessionProxyFactory
extends SessionProxyFactory

StatefulSessionProxyFactory Extension for SFSB Proxy Factories in which case methods defined by SessionProxyFactory result in creation of a new Session, while the overloaded methods provided here may create a Proxy for a specified Session ID


Method Summary
 java.lang.Object createProxyBusiness(java.io.Serializable sessionId, java.lang.String businessInterfaceName)
          Create an EJB3 Business Proxy specific to the specified target business interface name (expressed as a fully-qualified class name)
 java.lang.Object createProxyDefault(java.io.Serializable sessionId)
          Create an EJB3 Business proxy with no specific target business interface.
 java.lang.Object createProxyEjb2x(java.io.Serializable sessionId)
          Create an EJB2.x Proxy
 java.lang.Object createProxyHome()
          Create an EJB2.x Home Proxy
 
Methods inherited from interface org.jboss.ejb3.proxy.factory.session.SessionProxyFactory
createProxyBusiness, createProxyDefault, createProxyEjb2x
 
Methods inherited from interface org.jboss.ejb3.proxy.factory.ProxyFactory
getName, start, stop
 

Method Detail

createProxyHome

java.lang.Object createProxyHome()
Create an EJB2.x Home Proxy

Specified by:
createProxyHome in interface SessionProxyFactory
Returns:

createProxyDefault

java.lang.Object createProxyDefault(java.io.Serializable sessionId)
Create an EJB3 Business proxy with no specific target business interface. The returned proxy will implement all appropriate business interfaces. Additionally, if the Home interface is bound alongside the Default (same JNDI Name), this Proxy will implement the Home interface as well.

Parameters:
sessionId -
Returns:

createProxyBusiness

java.lang.Object createProxyBusiness(java.io.Serializable sessionId,
                                     java.lang.String businessInterfaceName)
Create an EJB3 Business Proxy specific to the specified target business interface name (expressed as a fully-qualified class name)

Parameters:
sessionId -
businessInterfaceName -
Returns:

createProxyEjb2x

java.lang.Object createProxyEjb2x(java.io.Serializable sessionId)
Create an EJB2.x Proxy

Parameters:
sessionId -
Returns: