org.jboss.ejb3.proxy.clustered.factory.session.stateless
Class StatelessSessionClusteredProxyFactory

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.StatelessSessionRemoteProxyFactory
                  extended by org.jboss.ejb3.proxy.clustered.factory.session.stateless.StatelessSessionClusteredProxyFactory
All Implemented Interfaces:
org.jboss.ejb3.proxy.impl.factory.ProxyFactory, org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactory, org.jboss.ejb3.proxy.impl.factory.session.SessionSpecProxyFactory

public class StatelessSessionClusteredProxyFactory
extends org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionRemoteProxyFactory

An SLSB Proxy Factory for Clustered Remote Views

Version:
$Revision: $
Author:
Brian Stansberry

Constructor Summary
StatelessSessionClusteredProxyFactory(String name, String containerName, String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata, ClassLoader classloader, String url, org.jboss.aop.Advisor advisor, ProxyClusteringRegistry registry, String interceptorStack)
          Constructor
 
Method Summary
protected  org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler createBusinessDefaultInvocationHandler()
           
protected  org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler createBusinessInterfaceSpecificInvocationHandler(String businessInterfaceName)
           
protected  org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler createEjb2xComponentInterfaceInvocationHandler()
           
protected  org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler createHomeInvocationHandler()
           
protected  String getInterceptorStackName()
          Return the name of the interceptor stack to apply to proxies created by this proxy factory
 void start()
           
 void stop()
           
 
Methods inherited from class org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionRemoteProxyFactory
getBusinessInterfaceTypes, getEjb2xInterfaceType, getHomeType, getUrl, setInterceptorStackName, setUrl
 
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
 
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
 

Constructor Detail

StatelessSessionClusteredProxyFactory

public StatelessSessionClusteredProxyFactory(String name,
                                             String containerName,
                                             String containerGuid,
                                             org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData metadata,
                                             ClassLoader classloader,
                                             String url,
                                             org.jboss.aop.Advisor advisor,
                                             ProxyClusteringRegistry registry,
                                             String interceptorStack)
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
url - The URL to use for remoting
advisor - The Advisor for proxies created by this factory
interceptorStack -
Method Detail

getInterceptorStackName

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

Overrides:
getInterceptorStackName in class org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionRemoteProxyFactory
Returns:

start

public void start()
           throws Exception
Specified by:
start in interface org.jboss.ejb3.proxy.impl.factory.ProxyFactory
Overrides:
start in class org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface org.jboss.ejb3.proxy.impl.factory.ProxyFactory
Overrides:
stop in class org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactoryBase
Throws:
Exception

createBusinessDefaultInvocationHandler

protected org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler createBusinessDefaultInvocationHandler()
Overrides:
createBusinessDefaultInvocationHandler in class org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionRemoteProxyFactory

createBusinessInterfaceSpecificInvocationHandler

protected org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler createBusinessInterfaceSpecificInvocationHandler(String businessInterfaceName)
Overrides:
createBusinessInterfaceSpecificInvocationHandler in class org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionRemoteProxyFactory

createEjb2xComponentInterfaceInvocationHandler

protected org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler createEjb2xComponentInterfaceInvocationHandler()
Overrides:
createEjb2xComponentInterfaceInvocationHandler in class org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionRemoteProxyFactory

createHomeInvocationHandler

protected org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandler createHomeInvocationHandler()
Overrides:
createHomeInvocationHandler in class org.jboss.ejb3.proxy.impl.factory.session.stateless.StatelessSessionRemoteProxyFactory


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