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

Version:
$Revision: $
Author:
ALR

Constructor Summary
StatefulSessionRemoteProxyFactory(String name, String containerName, String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata, ClassLoader classloader, String url, org.jboss.aop.Advisor advisor, String interceptorStackName)
          Constructor
 
Method Summary
protected  SessionProxyInvocationHandler createBusinessDefaultInvocationHandler()
          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(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()
          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  Set<String> getBusinessInterfaceTypes()
          Returns the a Set of String representations of the Business Interface Types
protected  String getEjb2xInterfaceType()
          Returns the String representation of the EJB2.x Interface Type
protected  String getHomeType()
          Returns the String representation of the Home Interface Type
protected  String getInterceptorStackName()
          Return the name of the interceptor stack to apply to proxies created by this proxy factory
 String getUrl()
           
protected  void setInterceptorStackName(String interceptorStackName)
           
 void setUrl(String url)
           
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.stateful.StatefulSessionProxyFactoryBase
associateProxyWithSession, createProxyBusiness, createProxyBusiness, createProxyDefault, createProxyDefault, createProxyEjb2x, createProxyEjb2x, createProxyHome, getContainer, getNewSessionId, getReturnTypesFromCreateMethods, obtainContainer, setContainer
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
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
 

Constructor Detail

StatefulSessionRemoteProxyFactory

public StatefulSessionRemoteProxyFactory(String name,
                                         String containerName,
                                         String containerGuid,
                                         org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
                                         ClassLoader classloader,
                                         String url,
                                         org.jboss.aop.Advisor advisor,
                                         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 Set<String> getBusinessInterfaceTypes()
Returns the a Set of String representations of the Business Interface Types

Specified by:
getBusinessInterfaceTypes in class SessionProxyFactoryBase
Returns:

getHomeType

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

Specified by:
getHomeType in class SessionProxyFactoryBase
Returns:

getEjb2xInterfaceType

protected final String getEjb2xInterfaceType()
Returns the String representation of the EJB2.x Interface Type

Specified by:
getEjb2xInterfaceType in class SessionProxyFactoryBase
Returns:

getInterceptorStackName

protected String getInterceptorStackName()
Return the name of the interceptor stack to apply to proxies created by this proxy factory

Overrides:
getInterceptorStackName in class ProxyFactoryBase
Returns:

createBusinessInterfaceSpecificInvocationHandler

protected SessionProxyInvocationHandler createBusinessInterfaceSpecificInvocationHandler(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()
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()
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:

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

setInterceptorStackName

protected void setInterceptorStackName(String interceptorStackName)


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.