|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
org.jboss.ejb3.proxy.clustered.jndiregistrar.JndiClusteredSessionRegistrarBase
public abstract class JndiClusteredSessionRegistrarBase
Responsible for binding of ObjectFactories and creation/registration of associated ProxyFactories, centralizing operations common to that of all clustered Session EJB Implementations.
Constructor Summary | |
---|---|
JndiClusteredSessionRegistrarBase(String sessionProxyObjectFactoryType,
ProxyClusteringRegistry registry)
Create a new JndiClusteredSessionRegistrarBase. |
Method Summary | |
---|---|
void |
beanClusteringInfoAdded(ProxyClusteringInfo beanClusteringInfo)
Notification that a ProxyClusteringInfo has been registered. |
void |
beanClusteringInfoRemoved(ProxyClusteringInfo beanClusteringInfo)
Notification that a ProxyClusteringInfo has been unregistered. |
void |
clusterTopologyChanged(ProxyClusteringInfo beanClusteringInfo)
Finds any JndiReferenceBindingSet associated with the
beanClusteringInfo 's container, updates any Reference s
associated with the beanClusteringInfo 's FamilyWrapper to
reflect the new cluster topoloyg, and rebinds the reference in JNDI. |
protected org.jboss.ejb3.proxy.impl.jndiregistrar.JndiReferenceBindingSet |
createJndiReferenceBindingSet(Context context,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd,
ClassLoader cl,
String containerName,
String containerGuid,
org.jboss.aop.Advisor advisor)
Overrides the superclass version to add clustering related RefAddr s
to the binding references. |
String |
getProxyFactoryRegistryKey(String jndiName,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd,
boolean isLocal)
|
ProxyClusteringRegistry |
getRegistry()
|
Methods inherited from class org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase |
---|
bind, bind, bind, bindEjb, createLocalProxyFactory, createRemoteProxyFactory, 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 |
---|
public JndiClusteredSessionRegistrarBase(String sessionProxyObjectFactoryType, ProxyClusteringRegistry registry)
sessionProxyObjectFactoryType
- registry
- registry of clustering information about deployed containersMethod Detail |
---|
public void clusterTopologyChanged(ProxyClusteringInfo beanClusteringInfo)
JndiReferenceBindingSet
associated with the
beanClusteringInfo
's container, updates any Reference
s
associated with the beanClusteringInfo
's FamilyWrapper
to
reflect the new cluster topoloyg, and rebinds the reference in JNDI.
clusterTopologyChanged
in interface ProxyClusteringRegistryListener
beanClusteringInfo
- the affected ProxyClusteringInfopublic void beanClusteringInfoAdded(ProxyClusteringInfo beanClusteringInfo)
ProxyClusteringRegistryListener
ProxyClusteringInfo
has been registered.
beanClusteringInfoAdded
in interface ProxyClusteringRegistryListener
beanClusteringInfo
- the item that was registered.public void beanClusteringInfoRemoved(ProxyClusteringInfo beanClusteringInfo)
ProxyClusteringRegistryListener
ProxyClusteringInfo
has been unregistered.
beanClusteringInfoRemoved
in interface ProxyClusteringRegistryListener
beanClusteringInfo
- the item that was unregistered.public ProxyClusteringRegistry getRegistry()
public String getProxyFactoryRegistryKey(String jndiName, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd, boolean isLocal)
getProxyFactoryRegistryKey
in class org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
protected org.jboss.ejb3.proxy.impl.jndiregistrar.JndiReferenceBindingSet createJndiReferenceBindingSet(Context context, org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd, ClassLoader cl, String containerName, String containerGuid, org.jboss.aop.Advisor advisor)
RefAddr
s
to the binding references.
createJndiReferenceBindingSet
in class org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |