public class Win32ServiceControlDelegate extends Object
| Constructor and Description |
|---|
Win32ServiceControlDelegate(String serviceName,
List<String> dependencies,
List<String> dependents,
long timeout) |
Win32ServiceControlDelegate(String serviceName,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
protected org.rhq.core.domain.measurement.AvailabilityType |
getAvailability(org.hyperic.sigar.win32.Service service) |
org.rhq.core.domain.measurement.AvailabilityType |
getAvailabilityType() |
void |
restart() |
void |
start() |
protected void |
startServices(List<String> services) |
void |
stop() |
protected void |
stopServices(List<String> services) |
public Win32ServiceControlDelegate(String serviceName, long timeout) throws org.hyperic.sigar.win32.Win32Exception
org.hyperic.sigar.win32.Win32Exceptionpublic org.rhq.core.domain.measurement.AvailabilityType getAvailabilityType()
public void start()
throws org.hyperic.sigar.win32.Win32Exception
org.hyperic.sigar.win32.Win32Exceptionpublic void stop()
throws org.hyperic.sigar.win32.Win32Exception
org.hyperic.sigar.win32.Win32Exceptionpublic void restart()
throws org.hyperic.sigar.win32.Win32Exception
org.hyperic.sigar.win32.Win32Exceptionprotected org.rhq.core.domain.measurement.AvailabilityType getAvailability(org.hyperic.sigar.win32.Service service)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.