|
|||||||||
| 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(java.lang.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 References
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(javax.naming.Context context,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd,
java.lang.ClassLoader cl,
java.lang.String containerName,
java.lang.String containerGuid,
org.jboss.aop.Advisor advisor)
Overrides the superclass version to add clustering related RefAddrs
to the binding references. |
java.lang.String |
getProxyFactoryRegistryKey(java.lang.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(java.lang.String sessionProxyObjectFactoryType,
ProxyClusteringRegistry registry)
sessionProxyObjectFactoryType - registry - registry of clustering information about deployed containers| Method Detail |
|---|
public void clusterTopologyChanged(ProxyClusteringInfo beanClusteringInfo)
JndiReferenceBindingSet associated with the
beanClusteringInfo's container, updates any References
associated with the beanClusteringInfo's FamilyWrapper to
reflect the new cluster topoloyg, and rebinds the reference in JNDI.
clusterTopologyChanged in interface ProxyClusteringRegistryListenerbeanClusteringInfo - the affected ProxyClusteringInfopublic void beanClusteringInfoAdded(ProxyClusteringInfo beanClusteringInfo)
ProxyClusteringRegistryListenerProxyClusteringInfo has been registered.
beanClusteringInfoAdded in interface ProxyClusteringRegistryListenerbeanClusteringInfo - the item that was registered.public void beanClusteringInfoRemoved(ProxyClusteringInfo beanClusteringInfo)
ProxyClusteringRegistryListenerProxyClusteringInfo has been unregistered.
beanClusteringInfoRemoved in interface ProxyClusteringRegistryListenerbeanClusteringInfo - the item that was unregistered.public ProxyClusteringRegistry getRegistry()
public java.lang.String getProxyFactoryRegistryKey(java.lang.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(javax.naming.Context context,
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData smd,
java.lang.ClassLoader cl,
java.lang.String containerName,
java.lang.String containerGuid,
org.jboss.aop.Advisor advisor)
RefAddrs
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 | ||||||||