org.jboss.ejb3.proxy.clustered.jndiregistrar
Class JndiClusteredStatefulSessionRegistrar

java.lang.Object
  extended by org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
      extended by org.jboss.ejb3.proxy.clustered.jndiregistrar.JndiClusteredSessionRegistrarBase
          extended by org.jboss.ejb3.proxy.clustered.jndiregistrar.JndiClusteredStatefulSessionRegistrar
All Implemented Interfaces:
ProxyClusteringRegistryListener

public class JndiClusteredStatefulSessionRegistrar
extends JndiClusteredSessionRegistrarBase

Responsible for binding of ObjectFactories and creation/registration of associated ProxyFactories, centralizing operations for clustered SFSB Implementations

Version:
$Revision: $
Author:
Brian Stansberry

Constructor Summary
JndiClusteredStatefulSessionRegistrar(String statelessSessionProxyObjectFactoryType, ProxyClusteringRegistry registry)
          Creates a JNDI Registrar from the specified configuration properties, none of which may be null.
 
Method Summary
protected  org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactory createLocalProxyFactory(String name, String containerName, String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd, ClassLoader cl, org.jboss.aop.Advisor advisor)
          Creates and returns a new local proxy factory for this SFSB
protected  org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactory createRemoteProxyFactory(String name, String containerName, String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd, ClassLoader cl, String url, org.jboss.aop.Advisor advisor, String interceptorStack)
          Creates and returns a new remote proxy factory for this SFSB
 
Methods inherited from class org.jboss.ejb3.proxy.clustered.jndiregistrar.JndiClusteredSessionRegistrarBase
beanClusteringInfoAdded, beanClusteringInfoRemoved, clusterTopologyChanged, createJndiReferenceBindingSet, getProxyFactoryRegistryKey, getRegistry
 
Methods inherited from class org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
bind, bind, bind, bindEjb, createRemotingRefAddr, createStandardReference, deregisterProxyFactory, getHumanReadableListOfInterfacesInRefAddrs, getSessionProxyObjectFactoryType, isHomeAndBusinessBoundTogether, rebind, registerProxyFactory, setSessionProxyObjectFactoryType, unbind, unbindEjb
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiClusteredStatefulSessionRegistrar

public JndiClusteredStatefulSessionRegistrar(String statelessSessionProxyObjectFactoryType,
                                             ProxyClusteringRegistry registry)
Creates a JNDI Registrar from the specified configuration properties, none of which may be null.

Parameters:
statelessSessionProxyObjectFactoryType - String representation of the JNDI Object Factory to use for SLSBs
registry - registry of clustering information about deployed containers
Method Detail

createLocalProxyFactory

protected org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactory createLocalProxyFactory(String name,
                                                                                                String containerName,
                                                                                                String containerGuid,
                                                                                                org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd,
                                                                                                ClassLoader cl,
                                                                                                org.jboss.aop.Advisor advisor)
Creates and returns a new local proxy factory for this SFSB

Specified by:
createLocalProxyFactory in class org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
Parameters:
name - The unique name for the ProxyFactory
containerName - The name of the Container upon which Proxies from the returned ProxyFactory will invoke
containerGuid - The globally-unique name of the container
smd - The metadata representing this SFSB
cl - The ClassLoader for this EJB Container
advisor - The Advisor for proxies created by this factory

createRemoteProxyFactory

protected org.jboss.ejb3.proxy.impl.factory.session.SessionProxyFactory createRemoteProxyFactory(String name,
                                                                                                 String containerName,
                                                                                                 String containerGuid,
                                                                                                 org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd,
                                                                                                 ClassLoader cl,
                                                                                                 String url,
                                                                                                 org.jboss.aop.Advisor advisor,
                                                                                                 String interceptorStack)
Creates and returns a new remote proxy factory for this SFSB

Specified by:
createRemoteProxyFactory in class org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
Parameters:
name - The unique name for the ProxyFactory
containerName - The name of the Container upon which Proxies from the returned ProxyFactory will invoke
containerGuid - The globally-unique name of the container
smd - The metadata representing this SFSB
cl - The ClassLoader for this EJB Container
url - The URL to use for Remoting
advisor - The Advisor for proxies created by this factory
interceptorStack -


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