org.objectweb.jonas.management.cluster
Class LogicalClusterFactory
java.lang.Object
org.objectweb.jonas.management.cluster.ClusterFactory
org.objectweb.jonas.management.cluster.LogicalClusterFactory
public class LogicalClusterFactory
- extends ClusterFactory
Factory for logical clusters
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogicalClusterFactory
public LogicalClusterFactory(DomainMonitor dm)
getCluster
public BaseCluster getCluster(java.lang.String name)
- Description copied from class:
ClusterFactory
- Look for a cluster by its name
- Specified by:
getCluster
in class ClusterFactory
- Parameters:
name
- fo the cluster
- Returns:
- The cluster or null if not found
notifyServer
public boolean notifyServer(ServerProxy proxy)
- Description copied from class:
ClusterFactory
- A new Server has been detected by the DomainManager.
Look if it can be added in a cluster. This cluster could
be created if necessary.
- Specified by:
notifyServer
in class ClusterFactory
- Parameters:
proxy
- The new ServerProxy object just created.
- Returns:
- True if server was added in a Cluster.
getClusterList
public java.util.Collection getClusterList()
- Specified by:
getClusterList
in class ClusterFactory
- Returns:
- A list of all Clusters managed by this ClusterFactory
createLogicalCluster
public LogicalCluster createLogicalCluster(java.lang.String name)
- Create a logical cluster