<html> <head> <title>Module registry</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimainself">Module</td> <td class="navimainnone">Use</td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Nested Modules</td> <td class="navisub"><a href="#Services" class="navisub">Services</a></td> <td class="navisub">Singletons</td> <td class="navisub"><a href="#Interfaces" class="navisub">Interfaces</a></td> <td class="navisub">Structs</td> <td class="navisub"><a href="#Exceptions" class="navisub">Exceptions</a></td> <td class="navisub"><a href="#Enums" class="navisub">Enums</a></td> <td class="navisub">Typedefs</td> <td class="navisub">Constant Groups</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: </p> </td> </tr> <tr> <td class="title">module registry</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>Interfaces to access registration databases.</dd> </dl> </td> </tr> </table> <hr> <a name="Services"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Services</td> </tr> <tr> <td class="imsum_left"><a href="DefaultRegistry.html">DefaultRegistry</a></td> <td class="imsum_right">implicitly supports a local registry and a read-only system registry for global information. In the context of this service, the functions <code>open</code>, <code>close</code>, and <code>destroy</code> from <a href="XSimpleRegistry.html">XSimpleRegistry</a> are not supported and throw an exception if they are used. </td> </tr> <tr> <td class="imsum_left"><a href="ImplementationRegistration.html">ImplementationRegistration</a></td> <td class="imsum_right">is the implementation of the interface <a href="XImplementationRegistration.html">XImplementationRegistration</a>. This service can be used to install or uninstall components (implementations). Further, it is possible to check if all runtime dependencies (needed services) are available to use a specified component. Guarantees: </td> </tr> <tr> <td class="imsum_left"><a href="NestedRegistry.html">NestedRegistry</a></td> <td class="imsum_right">supports a shared view on two different registries. The registry files will be opened in two different modes, registry1 will be opened with read/write rights and registry2 will be opened read-only. In the context of this service, the functions <code>open</code>, <code>close</code>, and <code>destroy</code> from <a href="XSimpleRegistry.html">XSimpleRegistry</a> are not supported and throw an exception if they are used. </td> </tr> <tr> <td class="imsum_left"><a href="SimpleRegistry.html">SimpleRegistry</a></td> <td class="imsum_right">makes it possible to create, open, or close a registry. Further, it is possible to merge a registry under a specified key in the open registry. Guarantees: </td> </tr> </table> <a name="Interfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Interfaces</td> </tr> <tr> <td class="imsum_left"><a href="XImplementationRegistration.html">XImplementationRegistration</a></td> <td class="imsum_right">offers a registry for implementation objects and provides information about the registered implementations. </td> </tr> <tr> <td class="imsum_left"><a href="XImplementationRegistration2.html">XImplementationRegistration2</a></td> <td class="imsum_right">extends the functionality of <a href="XImplementationRegistration.html">XImplementationRegistration</a>. It can be useful to specify a complete Url to a component but register the components name only (library or jar name). </td> </tr> <tr> <td class="imsum_left"><a href="XRegistryKey.html">XRegistryKey</a></td> <td class="imsum_right">makes structural information (except regarding tree structures) of a single registry key accessible. </td> </tr> <tr> <td class="imsum_left"><a href="XSimpleRegistry.html">XSimpleRegistry</a></td> <td class="imsum_right">allows access to a registry (a persistent data source). The data is stored in a hierarchical key structure beginning with a root key. Each key can store a value and can have multiple subkeys. </td> </tr> </table> <a name="Exceptions"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exceptions</td> </tr> <tr> <td class="imsum_left"><a href="CannotRegisterImplementationException.html">CannotRegisterImplementationException</a></td> <td class="imsum_right">is thrown when an application tries to register a new component (implementation) using the <a href="XImplementationRegistration.html">XImplementationRegistration</a>::<a href="XImplementationRegistration.html#registerImplementation">registerImplementation()</a> method, but the component cannot be registered. The reason for this exception could be:<br> <br></td> </tr> <tr> <td class="imsum_left"><a href="InvalidRegistryException.html">InvalidRegistryException</a></td> <td class="imsum_right">signals that the registry is invalid or an operation on the registry failed. </td> </tr> <tr> <td class="imsum_left"><a href="InvalidValueException.html">InvalidValueException</a></td> <td class="imsum_right">signals that the value of the key is invalid or does not have the appropriate key type. </td> </tr> <tr> <td class="imsum_left"><a href="MergeConflictException.html">MergeConflictException</a></td> <td class="imsum_right">is thrown if entries of two registries are contradictory in the context of <a href="XSimpleRegistry.html">XSimpleRegistry</a>::<a href="XSimpleRegistry.html#mergeKey(">mergeKey()e</a> method. </td> </tr> </table> <a name="Enums"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Enums</td> </tr> <tr> <td class="imsum_left"><a href="RegistryKeyType.html">RegistryKeyType</a></td> <td class="imsum_right">represents all possible types of a key. </td> </tr> <tr> <td class="imsum_left"><a href="RegistryValueType.html">RegistryValueType</a></td> <td class="imsum_right">represents all possible types of a key value. </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-idlref" --> </body> </html>