|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.lib.management.extensions.base.BaseManagement org.ow2.jonas.lib.management.extensions.server.ServerManagement
public class ServerManagement
Implements server management functions.
Field Summary | |
---|---|
protected static org.objectweb.util.monolog.api.Logger |
logger
|
Fields inherited from class org.ow2.jonas.lib.management.extensions.base.BaseManagement |
---|
s_Synchro |
Constructor Summary | |
---|---|
ServerManagement()
Constructor. |
Method Summary | |
---|---|
void |
deploy(String fileName,
String serverName)
Deploy a module on a target server in the domain. |
boolean |
developmentMode(String serviceName,
String serverName)
Return true if a given service is in 'development' mode for a given server managed in the domain. |
List<List<String>> |
getServerThreadsInformation(String serverName)
Return a managed server's threads information. |
List<List<String>> |
getServerThreadsInformation(String jmxUrl,
String username,
String password)
Return a managed server's threads information. |
boolean |
remove(String fileName,
String serverName)
Remove a module on a target server. |
void |
undeploy(String fileName,
String serverName)
Uneploy a module on a target server. |
Methods inherited from class org.ow2.jonas.lib.management.extensions.base.BaseManagement |
---|
addRealmItem, getAttribute, getAttributes, getDomainName, getInstance, getIntegerAttribute, getKeyValue, getKeyValues, getListMbean, getRealmItems, getRealmItems, getServerConnection, getServerConnection, getServerName, getStringAttribute, getTomcatRealm, getTomcatRealmItems, invoke, isRegistered, setAttribute, setAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.objectweb.util.monolog.api.Logger logger
Constructor Detail |
---|
public ServerManagement()
Method Detail |
---|
public List<List<String>> getServerThreadsInformation(String serverName) throws Exception
getServerThreadsInformation
in interface IServerManagement
serverName
- The managed server name
Exception
- when operation invocation failspublic List<List<String>> getServerThreadsInformation(String jmxUrl, String username, String password) throws Exception
getServerThreadsInformation
in interface IServerManagement
serverName
- The managed server name
Exception
- when operation invocation failspublic void deploy(String fileName, String serverName) throws Exception
deploy
in interface IServerManagement
fileName
- Name of the module's file.serverName
- Target server name.
Exception
- deploy operation failed.public void undeploy(String fileName, String serverName) throws Exception
undeploy
in interface IServerManagement
fileName
- Name of the module's file.serverName
- Target server name.
Exception
- undeploy operation failed.public boolean remove(String fileName, String serverName) throws Exception
remove
in interface IServerManagement
fileName
- Name of the module's file.serverName
- Target server name.
Exception
- remove operation failed.public boolean developmentMode(String serviceName, String serverName) throws Exception
developmentMode
in interface IServerManagement
serviceName
- The service name, for example "depmonitor".serverName
- Target server name.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |