org.jboss.ejb3.proxy.impl.factory.session.stateless
Class StatelessSessionLocalProxyFactory

java.lang.Object
  extended by org.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase
      extended by org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
          extended by org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionProxyFactoryBase
              extended by org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionLocalProxyFactory
All Implemented Interfaces:
ProxyFactory, SessionProxyFactory, SessionSpecProxyFactory

public class StatelessSessionLocalProxyFactory
extends StatelessSessionProxyFactoryBase
implements SessionSpecProxyFactory

StatelessSessionLocalProxyFactory A SLSB Proxy Factory for Local Views


Constructor Summary
StatelessSessionLocalProxyFactory(java.lang.String name, java.lang.String containerName, java.lang.String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata, java.lang.ClassLoader classloader, org.jboss.aop.Advisor advisor)
          Constructor
 
Method Summary
protected  SessionProxyInvocationHandler createBusinessDefaultInvocationHandler(java.io.Serializable target)
          Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for a Business Default proxy
protected  SessionProxyInvocationHandler createBusinessInterfaceSpecificInvocationHandler(java.io.Serializable target, java.lang.String businessInterfaceName)
          Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for a Business Interface-specific proxy
protected  SessionProxyInvocationHandler createEjb2xComponentInterfaceInvocationHandler(java.io.Serializable target)
          Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for an EJB2.x Component Interface proxy
protected  SessionProxyInvocationHandler createHomeInvocationHandler()
          Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for am EJB2.x Home proxy
 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
protected  java.util.Set<java.lang.String> getBusinessInterfaceTypes()
          Returns the a Set of String representations of the Business Interface Types
protected  java.lang.String getDefaultInterceptorStackName()
          Obtains the name of the default interceptor stack
protected  java.lang.String getEjb2xInterfaceType()
          Returns the String representation of the EJB.2x Interface Type
protected  java.lang.String getHomeType()
          Returns the String representation of the Home Interface Type
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionProxyFactoryBase
getReturnTypesFromCreateMethods
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
createProxyBusiness, createProxyDefault, createProxyEjb2x, createProxyHome, getConstructorProxyDefault, getConstructorProxyEjb2x, getConstructorProxyHome, getConstructorsProxySpecificBusinessInterface, getMetadata, getReturnTypesFromCreateMethods, setConstructorProxyDefault, setConstructorProxyEjb2x, setConstructorProxyHome, setConstructorsProxySpecificBusinessInterface, setMetadata, start, stop
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.ProxyFactoryBase
createProxyConstructor, getAdvisor, getClassLoader, getCommonProxyInterfaces, getContainerGuid, getContainerName, getInterceptors, getName, setClassLoader, setContainerName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.session.SessionSpecProxyFactory
createProxyHome
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.ProxyFactory
getName, start, stop
 

Constructor Detail

StatelessSessionLocalProxyFactory

public StatelessSessionLocalProxyFactory(java.lang.String name,
                                         java.lang.String containerName,
                                         java.lang.String containerGuid,
                                         org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
                                         java.lang.ClassLoader classloader,
                                         org.jboss.aop.Advisor advisor)
Constructor

Parameters:
name - The unique name for this ProxyFactory
containerName - The name of the InvokableContext (container) upon which Proxies will invoke
containerGuid - The globally-unique name of the container
metadata - The metadata representing this SLSB
classloader - The ClassLoader associated with the StatelessContainer for which this ProxyFactory is to generate Proxies
advisor - The Advisor for proxies created by this factory
Method Detail

getBusinessInterfaceTypes

protected final java.util.Set<java.lang.String> getBusinessInterfaceTypes()
Returns the a Set of String representations of the Business Interface Types

Specified by:
getBusinessInterfaceTypes in class SessionProxyFactoryBase
Returns:

getHomeType

protected final java.lang.String getHomeType()
Returns the String representation of the Home Interface Type

Specified by:
getHomeType in class SessionProxyFactoryBase
Returns:

getEjb2xInterfaceType

protected final java.lang.String getEjb2xInterfaceType()
Returns the String representation of the EJB.2x Interface Type

Specified by:
getEjb2xInterfaceType in class SessionProxyFactoryBase
Returns:

createBusinessInterfaceSpecificInvocationHandler

protected SessionProxyInvocationHandler createBusinessInterfaceSpecificInvocationHandler(java.io.Serializable target,
                                                                                         java.lang.String businessInterfaceName)
Description copied from class: SessionProxyFactoryBase
Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for a Business Interface-specific proxy

Specified by:
createBusinessInterfaceSpecificInvocationHandler in class SessionProxyFactoryBase
Returns:

createBusinessDefaultInvocationHandler

protected SessionProxyInvocationHandler createBusinessDefaultInvocationHandler(java.io.Serializable target)
Description copied from class: SessionProxyFactoryBase
Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for a Business Default proxy

Specified by:
createBusinessDefaultInvocationHandler in class SessionProxyFactoryBase
Returns:

createEjb2xComponentInterfaceInvocationHandler

protected SessionProxyInvocationHandler createEjb2xComponentInterfaceInvocationHandler(java.io.Serializable target)
Description copied from class: SessionProxyFactoryBase
Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for an EJB2.x Component Interface proxy

Specified by:
createEjb2xComponentInterfaceInvocationHandler in class SessionProxyFactoryBase
Returns:

createHomeInvocationHandler

protected SessionProxyInvocationHandler createHomeInvocationHandler()
Description copied from class: SessionProxyFactoryBase
Returns the Constructor of the SessionProxyInvocationHandler to be used in instanciating new handlers to specify in Proxy Creation Used for creating a Handler for am EJB2.x Home proxy

Specified by:
createHomeInvocationHandler in class SessionProxyFactoryBase
Returns:

getDefaultInterceptorStackName

protected java.lang.String getDefaultInterceptorStackName()
Obtains the name of the default interceptor stack

Specified by:
getDefaultInterceptorStackName in class ProxyFactoryBase
Returns:
See Also:
ProxyFactoryBase.getDefaultInterceptorStackName()

createProxyBusiness

public java.lang.Object createProxyBusiness(java.lang.String businessInterfaceName)
Description copied from interface: SessionSpecProxyFactory
Create an EJB3 Business Proxy specific to the specified target business interface name (expressed as a fully-qualified class name)

Specified by:
createProxyBusiness in interface SessionSpecProxyFactory
Returns:

createProxyEjb2x

public java.lang.Object createProxyEjb2x()
Description copied from interface: SessionSpecProxyFactory
Create an EJB2.x Proxy

Specified by:
createProxyEjb2x in interface SessionSpecProxyFactory
Returns:

createProxyDefault

public 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.

Specified by:
createProxyDefault in interface SessionProxyFactory
Returns:
See Also:
SessionProxyFactory.createProxyDefault()