org.jboss.ejb3.proxy.impl.jndiregistrar
Class JndiServiceRegistrar
java.lang.Object
org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
org.jboss.ejb3.proxy.impl.jndiregistrar.JndiServiceRegistrar
public class JndiServiceRegistrar
- extends JndiSessionRegistrarBase
JndiServiceRegistrar
Responsible for binding of ObjectFactories and
creation/registration of associated ProxyFactories,
centralizing operations for @Service Implementations
- Version:
- $Revision: $
- Author:
- ALR
Constructor Summary |
JndiServiceRegistrar(String serviceProxyObjectFactoryType)
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 @Service |
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 SFSB |
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 |
JndiServiceRegistrar
public JndiServiceRegistrar(String serviceProxyObjectFactoryType)
- Creates a JNDI Registrar from the specified configuration properties, none of
which may be null.
- Parameters:
serviceProxyObjectFactoryType
- String representation of the JNDI Object Factory to use for @Service
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 @Service
- Specified by:
createLocalProxyFactory
in class JndiSessionRegistrarBase
- Parameters:
name
- The unique name for the ProxyFactorycontainerName
- The name of the Container upon which Proxies
from the returned ProxyFactory will invokecontainerGuid
- The globally-unique name of the containersmd
- The metadata representing this SFSBcl
- The ClassLoader for this EJB Containeradvisor
- 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 SFSB
- Specified by:
createRemoteProxyFactory
in class JndiSessionRegistrarBase
- Parameters:
name
- The unique name for the ProxyFactorycontainerName
- The name of the Container upon which Proxies
from the returned ProxyFactory will invokecontainerGuid
- The globally-unique name of the containersmd
- The metadata representing this SFSBcl
- The ClassLoader for this EJB Containerurl
- The URL to use for Remotingadvisor
- The Advisor for proxies created by this factoryinterceptorStackName
- 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.