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

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.StatefulSessionRemoteProxyFactory
All Implemented Interfaces:
ProxyFactory, SessionProxyFactory, SessionSpecProxyFactory, StatefulSessionProxyFactory

public class StatefulSessionRemoteProxyFactory
extends StatefulSessionProxyFactoryBase
implements SessionSpecProxyFactory

StatefulSessionRemoteProxyFactory A SFSB Proxy Factory for Remote Views


Constructor Summary
StatefulSessionRemoteProxyFactory(java.lang.String name, java.lang.String containerName, java.lang.String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata, java.lang.ClassLoader classloader, java.lang.String url, org.jboss.aop.Advisor advisor, java.lang.String interceptorStackName)
          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
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 EJB2.x Interface Type
protected  java.lang.String getHomeType()
          Returns the String representation of the Home Interface Type
 java.lang.String getUrl()
           
 void setUrl(java.lang.String url)
           
 
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

StatefulSessionRemoteProxyFactory

public StatefulSessionRemoteProxyFactory(java.lang.String name,
                                         java.lang.String containerName,
                                         java.lang.String containerGuid,
                                         org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
                                         java.lang.ClassLoader classloader,
                                         java.lang.String url,
                                         org.jboss.aop.Advisor advisor,
                                         java.lang.String interceptorStackName)
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 SFSB
classloader - The ClassLoader associated with the StatelessContainer for which this ProxyFactory is to generate Proxies
url - The URL to use for remoting
advisor - The Advisor for proxies created by this factory
interceptorStackName - The name of the client-side interceptor stack to use. If null the default will apply.
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 EJB2.x 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()

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)