| org.objectweb.jonas.cluster.daemon.ClusterDaemonMBean
All known Subclasses: org.objectweb.jonas.cluster.daemon.ClusterDaemon,
ClusterDaemonMBean | public interface ClusterDaemonMBean (Code) | | Defines the MBean interface. Don't use Models MBeans as it will imply some
external libraries like commons-modeler (easier).
author: Benoit Pelletier |
Method Summary | |
void | addServer(String name, String description, String javaHome, String jonasRoot, String jonasBase) | String | getJavaHome4Server(String name) | String | getJonasBase4Server(String name) | String | getJonasRoot4Server(String name) | String | getServersList() | String | getobjectName() | boolean | iseventProvider() | boolean | isstateManageable() | boolean | isstatisticsProvider() | void | modifyServer(String name, String description, String javaHome, String jonasRoot, String jonasBase) | int | pingJOnAS(String name) | void | reloadConfiguration() | void | removeServer(String name) | void | setobjectName(String name) | String | startAllJOnAS(String domainName, String prm) | void | startJOnAS(String name, String domainName, String prm) | String | stopAllJOnAS() | void | stopClusterDaemon() | void | stopJOnAS(String name) |
addServer | void addServer(String name, String description, String javaHome, String jonasRoot, String jonasBase) throws ClusterDaemonException(Code) | | Add a server configuration
Parameters: name - server name Parameters: description - server description Parameters: javaHome - JAVA_HOME dir Parameters: jonasBase - JONAS_BASE dir Parameters: jonasRoot - JONAS_ROOT dir throws: ClusterDaemonException - if an error occurs |
getJavaHome4Server | String getJavaHome4Server(String name)(Code) | | the JAVA_HOME for a specified server name Parameters: name - JOnAS instance name |
getJonasBase4Server | String getJonasBase4Server(String name)(Code) | | the JONAS_BASE for a specified server name Parameters: name - JOnAS instance name |
getJonasRoot4Server | String getJonasRoot4Server(String name)(Code) | | the JONAS_ROOT for a specified server name Parameters: name - JOnAS instance name |
getServersList | String getServersList()(Code) | | the list of JOnAS instances |
iseventProvider | boolean iseventProvider()(Code) | | true if it is an event provider |
isstateManageable | boolean isstateManageable()(Code) | | true if this managed object implements J2EE State Management Model |
isstatisticsProvider | boolean isstatisticsProvider()(Code) | | true if this managed object implements the J2EE StatisticProvider Model |
modifyServer | void modifyServer(String name, String description, String javaHome, String jonasRoot, String jonasBase) throws ClusterDaemonException(Code) | | Modify a server configuration
Parameters: name - server name Parameters: description - server description Parameters: javaHome - JAVA_HOME dir Parameters: jonasBase - JONAS_BASE dir Parameters: jonasRoot - JONAS_ROOT dir throws: ClusterDaemonException - if an error occurs |
setobjectName | void setobjectName(String name)(Code) | | Sets the object name of this mbean
Parameters: name - the Object Name |
startAllJOnAS | String startAllJOnAS(String domainName, String prm)(Code) | | Start all the JOnAS instances configured with auto-reboot
Parameters: domainName - domain name Parameters: prm - extra parameters the nodes list with an indicator started/starting failed |
stopAllJOnAS | String stopAllJOnAS()(Code) | | Stop all the JOnAS instances
the nodes list with an indicator stopped/stopping failed |
stopClusterDaemon | void stopClusterDaemon()(Code) | | Stop the cluster daemon instance
|
|
|