|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.javageeks.gjas.ServerManager
Michael Neward
Constructor Summary | |
ServerManager()
|
Method Summary | |
static IServer |
addService(Service svc,
ConfigProperties args)
Call the method of the same name on the IServerManager Singleton instance. |
static IServer |
addService(java.lang.String svcName,
ConfigProperties args)
|
static IServer |
addServiceFromLocal(java.lang.String svcName,
ConfigProperties args)
This method loads the Service from the local ClassLoader (probably the bootstrap ClassLoader) and passes that to the IServerManager singleton instance. |
static void |
deployService(java.lang.String serviceName,
ClassLoaderStrategy strategy)
Call the method of the same name on the IServerManager Singleton instance. |
static void |
error(java.lang.Exception ex)
Call the method of the same name on the IServerManager Singleton instance. |
static void |
error(java.lang.String msg)
Call the method of the same name on the IServerManager Singleton instance. |
static IServer |
getService(java.lang.String instanceID)
Call the method of the same name on the IServerManager Singleton instance. |
static java.lang.String[] |
getServices()
Call the method of the same name on the IServerManager Singleton instance. |
static IServerManager |
instance()
Get the IServerManager instance for this JVM; may return null if one hasn't been designated yet. |
static void |
killService(java.lang.String instanceID)
Call the method of the same name on the IServerManager Singleton instance. |
static IServer |
loadService(Service svc)
Call the method of the same name on the IServerManager Singleton instance. |
static IServer |
loadService(java.lang.String svcName)
Call the method of the same name on the IServerManager Singleton instance. |
static void |
log(java.lang.Exception ex)
Call the method of the same name on the IServerManager Singleton instance. |
static void |
log(java.lang.String msg)
Call the method of the same name on the IServerManager Singleton instance. |
static void |
parseArg(java.lang.String arg)
Parse a single line for a classname arg0 arg1 ... |
static void |
parseInputStream(java.io.InputStream in)
Parse an InputStream for the Service name to load and add to the ServerManager instance. |
static void |
removeService(java.lang.String instanceID)
Call the method of the same name on the IServerManager Singleton instance. |
static void |
shutdown()
Call the method of the same name on the IServerManager Singleton instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerManager()
Method Detail |
public static IServerManager instance()
public static void parseInputStream(java.io.InputStream in) throws java.io.IOException
public static void parseArg(java.lang.String arg)
public static void shutdown()
public static void deployService(java.lang.String serviceName, ClassLoaderStrategy strategy)
public static IServer loadService(java.lang.String svcName)
public static IServer loadService(Service svc)
public static IServer addService(java.lang.String svcName, ConfigProperties args)
public static IServer addService(Service svc, ConfigProperties args)
public static IServer addServiceFromLocal(java.lang.String svcName, ConfigProperties args)
public static void removeService(java.lang.String instanceID)
public static void killService(java.lang.String instanceID)
public static java.lang.String[] getServices()
public static IServer getService(java.lang.String instanceID)
public static void log(java.lang.String msg)
public static void log(java.lang.Exception ex)
public static void error(java.lang.String msg)
public static void error(java.lang.Exception ex)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |