public class SystemHandler extends java.lang.Object implements IServiceInfoProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE |
static java.lang.String |
SCRIPTS_FOLDER |
Constructor and Description |
---|
SystemHandler() |
Modifier and Type | Method and Description |
---|---|
MethodInformation |
getMethodInfo(java.lang.String service,
java.lang.String method) |
PluginInformation |
getPluginInfo() |
ServerInformation |
getServerInfo(java.lang.String service,
java.lang.String method,
Server server) |
ServiceInformation |
getServiceInfo(java.lang.String service) |
Service |
getServiceInstance(java.lang.String service) |
public static java.lang.String SCRIPTS_FOLDER
public static java.lang.String BASE
public PluginInformation getPluginInfo() throws java.lang.Exception
getPluginInfo
in interface IServiceInfoProvider
java.lang.Exception
public ServiceInformation getServiceInfo(java.lang.String service) throws java.lang.Exception
getServiceInfo
in interface IServiceInfoProvider
service
- the service to be monitoredjava.lang.Exception
public MethodInformation getMethodInfo(java.lang.String service, java.lang.String method) throws java.lang.Exception
getMethodInfo
in interface IServiceInfoProvider
service
- the service to be monitoredmethod
- the method to be executedjava.lang.Exception
public ServerInformation getServerInfo(java.lang.String service, java.lang.String method, Server server) throws java.lang.Exception
getServerInfo
in interface IServiceInfoProvider
service
- the service to be monitoredmethod
- the method to be executedserver
- the server on which the method must be executedjava.lang.Exception
public Service getServiceInstance(java.lang.String service)
getServiceInstance
in interface IServiceInfoProvider
service
- the service to be returnedCopyright © 2021. All Rights Reserved.