|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rhq.core.system.NativeSystemInfo
org.rhq.core.system.WindowsNativeSystemInfo
public class WindowsNativeSystemInfo
SystemInfo
implementation for the Microsoft Windows operating system platform. This class is used mainly to
obtain information found in the Windows Registry.
Constructor Summary | |
---|---|
WindowsNativeSystemInfo()
|
Method Summary | |
---|---|
List<ServiceInfo> |
getAllServices()
Returns the information on all installed services found in the services manager. |
List<String> |
getRegistryChildKeys(RegistryEntry.Root root,
String key)
Gets a list of all the sub-keys that are direct children of the given registry key. |
List<RegistryEntry> |
getRegistryEntries(RegistryEntry.Root root,
String key)
Gets a list of all the value entries of the given registry key. |
RegistryEntry |
getRegistryEntry(RegistryEntry.Root root,
String key,
String name)
Returns a registry entry (which includes its value) where the key is located under either the LOCAL_MACHINE or CURRENT_USER root registry node. |
List<String> |
getRegistryValueNames(RegistryEntry.Root root,
String key)
Gets a list of all the names of values of the given registry key. |
Methods inherited from class org.rhq.core.system.NativeSystemInfo |
---|
executeProcess, getAllNetworkAdapters, getAllProcesses, getCpu, getFileSystem, getFileSystems, getHostname, getMemoryInfo, getNetworkAdapterStats, getNetworkStats, getNumberOfCpus, getOperatingSystemName, getOperatingSystemType, getOperatingSystemVersion, getProcesses, getSwapInfo, getSystemArchitecture, getThisProcess, isNative, readLineFromConsole, writeLineToConsole |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowsNativeSystemInfo()
Method Detail |
---|
public List<ServiceInfo> getAllServices() throws SystemInfoException
SystemInfo
getAllServices
in interface SystemInfo
getAllServices
in class NativeSystemInfo
SystemInfoException
public List<String> getRegistryChildKeys(RegistryEntry.Root root, String key) throws SystemInfoException
key
parameter for calls to
#getRegistryEntry(Root, String, String)
.
root
- key
-
SystemInfoException
public List<String> getRegistryValueNames(RegistryEntry.Root root, String key) throws SystemInfoException
name
parameter for calls to
#getRegistryEntry(Root, String, String)
.
root
- key
-
SystemInfoException
public List<RegistryEntry> getRegistryEntries(RegistryEntry.Root root, String key) throws SystemInfoException
root
- key
-
SystemInfoException
public RegistryEntry getRegistryEntry(RegistryEntry.Root root, String key, String name) throws SystemInfoException
root
- the root of the registry tree where the registry key is foundkey
- the name of the registry keyname
- the name of the key entry value
SystemInfoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |