com.metamatrix.common.comm.platform.socket
Class SocketVMController
java.lang.Object
com.metamatrix.common.application.AbstractClassLoaderManager
com.metamatrix.platform.vm.controller.ProcessController
com.metamatrix.common.comm.platform.socket.SocketVMController
- All Implemented Interfaces:
- ClassLoaderManager, ProcessManagement
public class SocketVMController
- extends ProcessController
Main class for a server process.
Methods inherited from class com.metamatrix.platform.vm.controller.ProcessController |
checkService, dumpThreads, exportLogs, getAddress, getCommonExtensionClassPath, getConfigHost, getName, getProperties, getStartTime, getVMStatistics, isShuttingDown, isStarted, logMessage, parseURL, ping, setCurrentLogConfiguration, startDeployedService, startService, stopService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SOCKET_CONTEXT
public static final java.lang.String SOCKET_CONTEXT
- See Also:
- Constant Field Values
SocketVMController
public SocketVMController(Host host,
java.lang.String processName,
ClusteredRegistryState registry,
ServerEvents serverEvents,
MessageBus bus,
HostManagement hostManagement)
throws java.lang.Exception
- Throws:
java.lang.Exception
start
public void start()
- Description copied from interface:
ProcessManagement
- Starts the VM by invoking all the deployed services
- Specified by:
start
in interface ProcessManagement
- Overrides:
start
in class ProcessController
shutdown
public void shutdown(boolean now)
- Description copied from class:
ProcessController
- Shut down all services waiting for work to complete.
Essential services will also be shutdown.
- Specified by:
shutdown
in interface ProcessManagement
- Overrides:
shutdown
in class ProcessController
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getSocketListenerStats
protected SocketListenerStats getSocketListenerStats()
- Specified by:
getSocketListenerStats
in class ProcessController
getProcessPoolStats
protected WorkerPoolStats getProcessPoolStats()
- Specified by:
getProcessPoolStats
in class ProcessController
main
@Deprecated
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Deprecated.
- Throws:
java.lang.Exception
Copyright © 2009. All Rights Reserved.