|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.management.domain.cluster.ClusterFactory org.ow2.jonas.lib.management.domain.cluster.logical.LogicalClusterFactory
public class LogicalClusterFactory
Factory for logical clusters.
Field Summary |
---|
Fields inherited from class org.ow2.jonas.lib.management.domain.cluster.ClusterFactory |
---|
dm, domainName, logger, mbeanServer |
Constructor Summary | |
---|---|
LogicalClusterFactory(DomainMonitor dm)
Constructor for a LogicalClusterFactory. |
Method Summary | |
---|---|
LogicalCluster |
createLogicalCluster(String name)
Create a logical cluster. |
BaseCluster |
getCluster(String name)
Look for a cluster by its name. |
Collection<BaseCluster> |
getClusterList()
|
void |
getMonitoringInfo()
Update dynamic info for all the ha clusters. |
boolean |
notifyServer(ServerProxy proxy)
Treat event corresponding to a new ServerProxyy (new server arriving in the domain). |
Methods inherited from class org.ow2.jonas.lib.management.domain.cluster.ClusterFactory |
---|
getDomainMonitor, getMBeanServer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogicalClusterFactory(DomainMonitor dm)
dm
- Reference to the DomainMonitorMethod Detail |
---|
public BaseCluster getCluster(String name)
ClusterFactory
getCluster
in class ClusterFactory
name
- fo the cluster
public Collection<BaseCluster> getClusterList()
getClusterList
in class ClusterFactory
public boolean notifyServer(ServerProxy proxy)
notifyServer
in class ClusterFactory
proxy
- ServerProxy that has been detected
public LogicalCluster createLogicalCluster(String name)
name
- the cluster name.
public void getMonitoringInfo()
getMonitoringInfo
in class ClusterFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |