org.jboss.ejb3.proxy.impl.jndiregistrar
Class JndiStatelessSessionRegistrar

java.lang.Object
  extended by org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
      extended by org.jboss.ejb3.proxy.impl.jndiregistrar.JndiStatelessSessionRegistrar

public class JndiStatelessSessionRegistrar
extends JndiSessionRegistrarBase

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

Version:
$Revision: $
Author:
ALR

Constructor Summary
JndiStatelessSessionRegistrar(String statelessSessionProxyObjectFactoryType)
          Creates a JNDI Registrar from the specified configuration properties, none of which may be null.
 
Method Summary
protected  ProxyFactory 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  ProxyFactory createRemoteProxyFactory(String name, String containerName, String containerGuid, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd, ClassLoader cl, String url, org.jboss.aop.Advisor advisor, String interceptorStackName)
          Creates and returns a new remote proxy factory for this Session Bean
 
Methods inherited from class org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
bind, bind, bind, bindEjb, createJndiReferenceBindingSet, createRemotingRefAddr, createStandardReference, deregisterProxyFactory, getHumanReadableListOfInterfacesInRefAddrs, getProxyFactoryRegistryKey, 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

JndiStatelessSessionRegistrar

public JndiStatelessSessionRegistrar(String statelessSessionProxyObjectFactoryType)
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
Method Detail

createLocalProxyFactory

protected ProxyFactory 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 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 ProxyFactory createRemoteProxyFactory(String name,
                                                String containerName,
                                                String containerGuid,
                                                org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd,
                                                ClassLoader cl,
                                                String url,
                                                org.jboss.aop.Advisor advisor,
                                                String interceptorStackName)
Creates and returns a new remote proxy factory for this Session Bean

Specified by:
createRemoteProxyFactory in class 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
interceptorStackName - The name of the client-side interceptor stack to use. If null the default will apply.


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