org.ow2.jonas.lib.management.extensions.clusterdaemon
Class ClusterdaemonManagement
java.lang.Object
org.ow2.jonas.lib.management.extensions.base.BaseManagement
org.ow2.jonas.lib.management.extensions.clusterdaemon.ClusterdaemonManagement
- All Implemented Interfaces:
- IClusterdaemon
public class ClusterdaemonManagement
- extends BaseManagement
- implements IClusterdaemon
Implements clusterdaemon management functions.
- Author:
- Adriana Danes, Oualaa Hani
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterdaemonManagement
public ClusterdaemonManagement()
- Constructor.
getClusterdaemonState
public String getClusterdaemonState(String clusterdaemonName)
- Specified by:
getClusterdaemonState in interface IClusterdaemon
- Parameters:
clusterdaemonName - name of the cluster daemon to manage
- Returns:
- the state of a cluster daemon in the domain
isRunning
public boolean isRunning(String clusterdaemonName)
- Specified by:
isRunning in interface IClusterdaemon
- Parameters:
clusterdaemonName - name of the cluster daemon to manage.
- Returns:
- true if the cluster daemon is in RUNNING state, false otherwise
getControlledServersNames
public String[] getControlledServersNames(String clusterdaemonName)
- Specified by:
getControlledServersNames in interface IClusterdaemon
- Parameters:
clusterdaemonName - name of the cluster daemon to manage
- Returns:
- list of servers controlled by a clusterdaemon
Copyright ? 2009 OW2 Consortium. All Rights Reserved.