org.jboss.ejb3.proxy.factory.session
Interface SessionProxyFactory

All Superinterfaces:
ProxyFactory
All Known Subinterfaces:
StatefulSessionProxyFactory
All Known Implementing Classes:
SessionProxyFactoryBase, StatefulSessionLocalProxyFactory, StatefulSessionProxyFactoryBase, StatefulSessionRemoteProxyFactory, StatelessSessionLocalProxyFactory, StatelessSessionProxyFactoryBase, StatelessSessionRemoteProxyFactory

public interface SessionProxyFactory
extends ProxyFactory

SessionProxyFactory Contract for a Proxy Factory responsible for creation of both EJB3 and EJB2.x Session Bean Proxies


Method Summary
 java.lang.Object createProxyBusiness(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()
          Create an EJB3 Business proxy with no specific target business interface.
 java.lang.Object createProxyEjb2x()
          Create an EJB2.x Proxy
 java.lang.Object createProxyHome()
          Create an EJB2.x Home Proxy
 
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

Returns:

createProxyDefault

java.lang.Object createProxyDefault()
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.

Returns:

createProxyBusiness

java.lang.Object createProxyBusiness(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:
businessInterfaceName -
Returns:

createProxyEjb2x

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

Returns: