|
JNA API> 3.3.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.jna.platform.win32.W32ServiceManager
public class W32ServiceManager
Win32 Service Manager wrapper
| Field Summary | |
|---|---|
(package private) String |
_databaseName
|
(package private) Winsvc.SC_HANDLE |
_handle
|
(package private) String |
_machineName
|
| Constructor Summary | |
|---|---|
W32ServiceManager()
|
|
W32ServiceManager(String machineName,
String databaseName)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the previously opened Service Manager. |
Winsvc.SC_HANDLE |
getHandle()
Gets the service manager handle. |
void |
open(int permissions)
Opens the Service Manager with the supplied permissions. |
W32Service |
openService(String serviceName,
int permissions)
Opens a Service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Winsvc.SC_HANDLE _handle
String _machineName
String _databaseName
| Constructor Detail |
|---|
public W32ServiceManager()
public W32ServiceManager(String machineName,
String databaseName)
| Method Detail |
|---|
public void open(int permissions)
permissions - Permissions.public void close()
public W32Service openService(String serviceName,
int permissions)
serviceName - Service name.permissions - Permissions.
public Winsvc.SC_HANDLE getHandle()
|
JNA API> 3.3.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||