com.javageeks.gjas.services
Interface ControlService
- All Superinterfaces:
- java.io.Serializable, Service
- public interface ControlService
- extends Service
Method Summary |
java.lang.String[] |
enumServiceInstances()
Lists all Services associated with this ControlService. |
void |
pauseService(java.lang.String instance)
Pauses a Service with the name instance . |
void |
resumeService(java.lang.String instance)
Resumes a Service with the name instance . |
com.javageeks.gjas.services.Server |
startService(java.lang.String svcName,
java.lang.String[] args)
Creates a Service instance via loader , passing
in args to the Service. |
void |
stopService(java.lang.String instance)
Stops a Service with the name instance . |
startService
public com.javageeks.gjas.services.Server startService(java.lang.String svcName,
java.lang.String[] args)
- Creates a Service instance via
loader
, passing
in args
to the Service.
enumServiceInstances
public java.lang.String[] enumServiceInstances()
- Lists all Services associated with this ControlService.
stopService
public void stopService(java.lang.String instance)
- Stops a Service with the name
instance
. If no
instance by that name is found, nothing is done.
pauseService
public void pauseService(java.lang.String instance)
- Pauses a Service with the name
instance
. If no
instance by that name is found, nothing is done.
resumeService
public void resumeService(java.lang.String instance)
- Resumes a Service with the name
instance
. If no
instance by that name is found, nothing is done.