|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.cluster.daemon.ClusterDaemonTools
public class ClusterDaemonTools
Commons tools
Field Summary | |
---|---|
static Long |
ONE_MEGA
|
Method Summary | |
---|---|
static ClusterDaemonConfiguration |
getCurrentConfiguration()
|
static String |
getCurrentConfigurationFileName()
|
static String |
getJmxUrl(String cdName)
Build the JMX url connection |
static String |
getObjectName()
Build the Object Name |
static String |
initCarol()
Init carol. |
static void |
loadClusterDaemonConfiguration(String confFileName)
Load the cluster daemon configuration (clusterd.xml) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Long ONE_MEGA
Method Detail |
---|
public static String initCarol() throws ClusterDaemonException
ClusterDaemonException
- if an error occurspublic static String getJmxUrl(String cdName) throws ClusterDaemonException
cdName
- cluster daemon name
ClusterDaemonException
- if an error occurspublic static String getObjectName() throws ClusterDaemonException
ClusterDaemonException
- if an error occurspublic static void loadClusterDaemonConfiguration(String confFileName) throws ClusterDaemonException
confFileName
- configuration file to used
ClusterDaemonException
- if an error occurspublic static ClusterDaemonConfiguration getCurrentConfiguration()
public static String getCurrentConfigurationFileName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |