jsc340: i114609: support passive component registration

This commit is contained in:
Juergen Schmidt
2011-02-22 16:13:49 +01:00
parent 134b85e8f8
commit 928af9414d
28 changed files with 421 additions and 326 deletions

View File

@ -273,11 +273,15 @@ public class ProtocolHandlerAddon {
* structures) of a single
* registry key accessible.
*/
public static boolean __writeRegistryServiceInfo(
XRegistryKey xRegistryKey ) {
return Factory.writeRegistryServiceInfo(
ProtocolHandlerAddonImpl.class.getName(),
ProtocolHandlerAddonImpl.getServiceNames(),
xRegistryKey );
}
// This method not longer necessary since OOo 3.4 where the component registration
// was changed to passive component registration. For more details see
// http://wiki.services.openoffice.org/wiki/Passive_Component_Registration
// public static boolean __writeRegistryServiceInfo(
// XRegistryKey xRegistryKey ) {
// return Factory.writeRegistryServiceInfo(
// ProtocolHandlerAddonImpl.class.getName(),
// ProtocolHandlerAddonImpl.getServiceNames(),
// xRegistryKey );
// }
}