org.jboss.ejb3.proxy.impl.factory.session.stateful
Class StatefulSessionLocalProxyFactory

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.stateful.StatefulSessionProxyFactoryBase
              extended by org.jboss.ejb3.proxy.impl.factory.session.stateful.StatefulSessionLocalProxyFactory
All Implemented Interfaces:
ProxyFactory, SessionProxyFactory, SessionSpecProxyFactory, StatefulSessionProxyFactory

public class StatefulSessionLocalProxyFactory
extends StatefulSessionProxyFactoryBase
implements SessionSpecProxyFactory

StatefulSessionLocalProxyFactory A SFSB Proxy Factory for Local Views


Constructor Summary
StatefulSessionLocalProxyFactory(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 sessionId)
          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 sessionId, 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 sessionId)
          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
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.stateful.StatefulSessionProxyFactoryBase
createProxyBusiness, createProxyBusiness, createProxyDefault, createProxyEjb2x, createProxyEjb2x, createProxyHome, getContainer, getNewSessionId, getReturnTypesFromCreateMethods, obtainContainer, setContainer
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
createProxyDefault, 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
createProxyBusiness, createProxyEjb2x, createProxyHome
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactory
createProxyDefault
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.ProxyFactory
getName, start, stop
 
Methods inherited from interface org.jboss.ejb3.proxy.impl.factory.session.stateful.StatefulSessionProxyFactory
createProxyDefault
 

Constructor Detail

StatefulSessionLocalProxyFactory

public StatefulSessionLocalProxyFactory(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 sessionId,
                                                                                         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 sessionId)
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 sessionId)
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()