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

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.JndiClusteredStatelessSessionRegistrar
All Implemented Interfaces:
ProxyClusteringRegistryListener

public class JndiClusteredStatelessSessionRegistrar
extends JndiClusteredSessionRegistrarBase

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

Version:
$Revision: $
Author:
Brian Stansberry

Constructor Summary
JndiClusteredStatelessSessionRegistrar(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 SLSB
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 Session Bean
 
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

JndiClusteredStatelessSessionRegistrar

public JndiClusteredStatelessSessionRegistrar(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 SLSB

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
containerGuid - The globally-unique name of the container
smd - The metadata representing this SLSB
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 Session Bean

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 Session EJB
cl - The ClassLoader for this EJB Container
url - The URL to use for Remoting
advisor - The Advisor for proxies created by this factory


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