com.metamatrix.server
Class ServiceManager

java.lang.Object
  extended by com.metamatrix.server.ServiceManager

public class ServiceManager
extends java.lang.Object

Utility class that allows users to view the state of the services.


Constructor Summary
ServiceManager()
           
 
Method Summary
 void doBounceService(java.lang.String name)
           
 void doListDeployedHosts()
           
 void doListDeployedServices()
           
 void doListDeployedVMs()
           
 void doListServiceProps(java.lang.String serviceName)
           
 void doListServices()
           
 void doListVMProps(java.lang.String processName)
           
 void doListVMs()
           
 void doShutdownAllHCs()
           
 void doShutdownHC(java.lang.String host)
           
 void doShutdownServer()
           
 void doShutdownVM(java.lang.String processName, boolean now)
           
 void doStopService(ServiceID serviceID)
           
 void doStopVM(java.lang.String processName)
           
 java.util.List getDeployedVMs()
           
static void main(java.lang.String[] args)
           
 void run(java.lang.String command, boolean exit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceManager

public ServiceManager()
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

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.