com.ibm.as400.registry
Class WindowsRegistry
java.lang.Object
|
+--com.ibm.as400.registry.Registry
|
+--com.ibm.as400.registry.WindowsRegistry
- public class WindowsRegistry
- extends Registry
The Registry
implementation that stores data
in the Windows registry. This registry type is intended for use by
applications that have a need to share registry data with legacy
Windows applications. Use of ApplicationRegistry
is
preferred over this registry type, which is not available on all platforms.
WindowsRegistry
is dependent on native method implementations
which reside in the Client Access Express Shared subdirectory.
To use this class in a standalone Java application, the fully-qualified path
of this directory must be supplied on the system property
windows.registry.impl. If no directory path is supplied
the DLLs are assumed to reside in the current directory.
WARNING: The Windows registry does not store negative
integer values.
- Since:
- v5r1m0
- See Also:
Registry
Method Summary |
RegistryNode |
getRoot(java.lang.String namespace)
Returns the root of a registry namespace. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
getRoot
public RegistryNode getRoot(java.lang.String namespace)
throws RegistryException
- Returns the root of a registry namespace.
- Overrides:
- getRoot in class Registry
- Parameters:
namespace
- A constant that identifies the desired namespace root.- Returns:
- The root of the specified namespace.
- Throws:
- RegistryException - If the specified root cannot be accessed.
- Since:
- v5r1m0
- See Also:
Registry
,
RegistryNode