|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.petals.tools.webadmin.service.NewJMXService
public final class NewJMXService
Method Summary | |
---|---|
static void |
createNewJmxService(ServerConfiguration serverConf)
Creates a new JMXService connected to a new server |
java.util.Map<java.lang.String,JBIEntity> |
getComponents(java.lang.String serverName)
Gets the components installed on a server |
static NewJMXService |
getJmxService()
Gets the singleton NewJMXService |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getRawComponents(java.lang.String serverName)
Gets the components installed on a server |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getRawServersList()
Gets the list of all servers known on the domain |
ServerConfiguration |
getServerConf()
Return the configuration of the server with which the server communicate |
ServerConfiguration |
getServerConfiguration(java.lang.String serverName)
Gets the server configuration of a server by his name |
java.util.List<ServerConfiguration> |
getServersList()
Gets the list of all servers known on the domain |
java.util.Map<java.lang.String,JBIEntity> |
getServicesAssemblies(java.lang.String serverName)
Temporary method to get all service assemblies |
java.util.List<ServerConfiguration> |
getStartedServersList()
Gets only started servers on domain |
java.util.Map<java.lang.Long,java.lang.Long> |
getTimeDatas(java.lang.String mBeanName,
java.lang.String mBeanType,
java.lang.String datasetName,
long sinceTime)
Gets a Map of time datas from an MBean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void createNewJmxService(ServerConfiguration serverConf)
serverConf
- the server to contactpublic static NewJMXService getJmxService()
public java.util.Map<java.lang.String,JBIEntity> getComponents(java.lang.String serverName) throws java.io.IOException, javax.management.MBeanException
serverName
- the server's name
java.io.IOException
javax.management.MBeanException
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getRawComponents(java.lang.String serverName) throws javax.management.MBeanException, java.io.IOException
serverName
- the server's name
java.io.IOException
javax.management.MBeanException
public ServerConfiguration getServerConfiguration(java.lang.String serverName) throws javax.management.MBeanException, java.io.IOException
serverName
- the name of the server
javax.management.MBeanException
- an error occured when communicating with server
java.io.IOException
- a communication error occuredpublic java.util.Map<java.lang.String,JBIEntity> getServicesAssemblies(java.lang.String serverName) throws javax.management.MBeanException
javax.management.MBeanException
public java.util.List<ServerConfiguration> getServersList() throws javax.management.MBeanException, java.io.IOException
java.io.IOException
- a communication error occured
javax.management.MBeanException
- the server throws an exception when communicating with itpublic java.util.List<java.util.Map<java.lang.String,java.lang.String>> getRawServersList() throws javax.management.MBeanException, java.io.IOException
java.io.IOException
- a communication error occured
javax.management.MBeanException
- the server throws an exception when communicating with itpublic java.util.List<ServerConfiguration> getStartedServersList() throws java.io.IOException, javax.management.MBeanException
java.io.IOException
javax.management.MBeanException
public java.util.Map<java.lang.Long,java.lang.Long> getTimeDatas(java.lang.String mBeanName, java.lang.String mBeanType, java.lang.String datasetName, long sinceTime) throws java.io.IOException, javax.management.MBeanException
serverConf
- the storage server where MBean is registeredmBeanName
- an Objetname representation of the MBean's namemBeanType
- a String representation of the MBean's typeattributeName
- the attribute of the MBean containing the datas to retrievesinceTime
- the timestamp of beginning of the retrieval period
java.io.IOException
javax.management.MBeanException
public ServerConfiguration getServerConf()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |