All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.jobjects.jst.ServiceControlManager

public interface ServiceControlManager
ServiceControlManager interface provides methods for service installation and removal.
To get the appropriate instance of ServiceControlManager for a system use SystemToolkit class.

See Also:
SystemToolkit, ServiceSettings

Method Index

 o addServiceControlListener(ServiceControlListener)
Adds service control interface.
 o createService(ServiceSettings)
Creates system service using specified settings.
 o deleteService(String)
Removes system service.
 o removeServiceControlListener(ServiceControlListener)
Removes service control interface.

Methods

 o addServiceControlListener
 public abstract void addServiceControlListener(ServiceControlListener lis)
Adds service control interface.

 o removeServiceControlListener
 public abstract void removeServiceControlListener(ServiceControlListener lis)
Removes service control interface.

 o createService
 public abstract void createService(ServiceSettings srvset) throws ServiceControlException
Creates system service using specified settings.

Parameters:
srvset - service settings
 o deleteService
 public abstract void deleteService(String name) throws ServiceControlException
Removes system service.

Parameters:
name - service name

All Packages  Class Hierarchy  This Package  Previous  Next  Index