com.metamatrix.server
Class ServiceManager
java.lang.Object
com.metamatrix.server.ServiceManager
public class ServiceManager
- extends java.lang.Object
Utility class that allows users to view the state of the services.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceManager
public ServiceManager()
throws java.lang.Exception
- Throws:
java.lang.Exception
run
public void run(java.lang.String command,
boolean exit)
doBounceService
public void doBounceService(java.lang.String name)
doListVMProps
public void doListVMProps(java.lang.String processName)
doListServiceProps
public void doListServiceProps(java.lang.String serviceName)
doStopVM
public void doStopVM(java.lang.String processName)
doShutdownVM
public void doShutdownVM(java.lang.String processName,
boolean now)
doListVMs
public void doListVMs()
doListServices
public void doListServices()
doListDeployedHosts
public void doListDeployedHosts()
doListDeployedVMs
public void doListDeployedVMs()
getDeployedVMs
public java.util.List getDeployedVMs()
throws java.lang.Exception
- Throws:
java.lang.Exception
doListDeployedServices
public void doListDeployedServices()
doStopService
public void doStopService(ServiceID serviceID)
doShutdownAllHCs
public void doShutdownAllHCs()
doShutdownHC
public void doShutdownHC(java.lang.String host)
doShutdownServer
public void doShutdownServer()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2009. All Rights Reserved.