1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
Copyright (c) 2007 Thomas Boerkel, All Rights Reserved
Disclaimer:
===========
This code is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
Description:
============
Accounts.java:
--------------
Static methods for getting information about Win32 accounts (users
and groups).
- list all domain users
- list all domain groups
- list all local or domain groups where a user belongs to
- get account by SID
- get SID of account
- get domain controller name
- get domain name
Registry.java:
--------------
Static methods for reading and manipulating the Windows Registry.
Only String and DWORD values supported, but could be easily
extended.
- create key
- delete key
- delete value
- read value
- get all sub keys of a key
- get all values of a key
- set value
- check existence of value
Win32Service.java:
------------------
Abstract class to wrap a Win32 service. Derive from this class
to build your own service. Supports only one type of service and
startup, but could be easily extended.
- install service
- uninstall service
- start service
- stop service
- callback for service start request (onStart), should spawn a thread
- callback for service stop request (onStop)
TestService.java:
-----------------
Very simple example of an implementation of Win32Service.java.
Does nothing but starting and stopping (no "useful" work).
|