|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.client.ClusterContext
@Deprecated public final class ClusterContext
A ClusterContext keeps track of a specific cluster and the ClusterNodes
in that cluster. A ClusterContext is always associated with a EJBClientContext
| Method Summary | |
|---|---|
void |
addClusterNode(String nodeName,
ClusterNodeManager clusterNodeManager)
Deprecated. Since 1.0.6.Final. Use addClusterNodes(ClusterNodeManager...) instead |
void |
addClusterNodes(ClusterNodeManager... clusterNodeManagers)
Deprecated. Adds the cluster nodes managed by the clusterNodeManagers, to this cluster context |
String |
getClusterName()
Deprecated. |
EJBClientContext |
getEJBClientContext()
Deprecated. |
void |
receiverContextClosed(EJBReceiverContext receiverContext)
Deprecated. A callback method which will be invoked when the receiverContext
is closed. |
void |
registerEJBReceiver(EJBReceiver receiver)
Deprecated. Register a EJBReceiver with this cluster context |
void |
removeAllClusterNodes()
Deprecated. Removes all previously associated cluster node(s), if any, from this cluster context |
void |
removeClusterNode(String nodeName)
Deprecated. Removes a previously assoicated cluster node, if any, from this cluster context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getClusterName()
public EJBClientContext getEJBClientContext()
public void addClusterNode(String nodeName,
ClusterNodeManager clusterNodeManager)
addClusterNodes(ClusterNodeManager...) instead
ClusterNodeManager associated with that node, to this cluster context
nodeName - The cluster node nameclusterNodeManager - The cluster node manager for that nodepublic void addClusterNodes(ClusterNodeManager... clusterNodeManagers)
clusterNodeManagers, to this cluster context
clusterNodeManagers - The cluster node managerspublic void removeClusterNode(String nodeName)
nodeName - The node namepublic void removeAllClusterNodes()
public void registerEJBReceiver(EJBReceiver receiver)
EJBReceiver with this cluster context
receiver - The EJB receiver for that nodepublic void receiverContextClosed(EJBReceiverContext receiverContext)
receiverContext
is closed. This method can do the necessary cleanup (if any) of resources associated with the
receiver context
receiverContext - The receiver context which was closed
|
JBoss EJB client 2.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||