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
-
addServiceControlListener(ServiceControlListener)
- Adds service control interface.
-
createService(ServiceSettings)
- Creates system service using specified settings.
-
deleteService(String)
- Removes system service.
-
removeServiceControlListener(ServiceControlListener)
- Removes service control interface.
addServiceControlListener
public abstract void addServiceControlListener(ServiceControlListener lis)
- Adds service control interface.
removeServiceControlListener
public abstract void removeServiceControlListener(ServiceControlListener lis)
- Removes service control interface.
createService
public abstract void createService(ServiceSettings srvset) throws ServiceControlException
- Creates system service using specified settings.
- Parameters:
- srvset - service settings
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