diff options
author | Juergen Schmidt <jsc@openoffice.org> | 2011-02-22 16:13:49 +0100 |
---|---|---|
committer | Juergen Schmidt <jsc@openoffice.org> | 2011-02-22 16:13:49 +0100 |
commit | 928af9414dac5ff185e2a8716a585efc33be2001 (patch) | |
tree | 9af762d43890966e4323b0d8d2f03bda4b670f7e /odk/examples/java | |
parent | 134b85e8f8c6bb38c7ce9b4f7f159b8738b0f347 (diff) |
jsc340: i114609: support passive component registration
Diffstat (limited to 'odk/examples/java')
5 files changed, 10 insertions, 5 deletions
diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObjectFactory.java b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObjectFactory.java index f081aaf668f9..a146e04d3ca1 100755 --- a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObjectFactory.java +++ b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObjectFactory.java @@ -37,9 +37,10 @@ public final class OwnEmbeddedObjectFactory extends WeakBase return xFactory; } - // This method not longer necessary since OOo 3.4 where the component registration was + // 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(m_implementationName, // m_serviceNames, diff --git a/odk/examples/java/MinimalComponent/MinimalComponent.java b/odk/examples/java/MinimalComponent/MinimalComponent.java index bce1f1882e29..d4811ab29f1a 100644 --- a/odk/examples/java/MinimalComponent/MinimalComponent.java +++ b/odk/examples/java/MinimalComponent/MinimalComponent.java @@ -163,9 +163,10 @@ public class MinimalComponent { * @param regKey the registryKey * @see com.sun.star.comp.loader.JavaLoader */ - // This method not longer necessary since OOo 3.4 where the component registration was + // 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 regKey) { // return Factory.writeRegistryServiceInfo(_MinimalComponent.class.getName(), // _MinimalComponent.getServiceNames(), diff --git a/odk/examples/java/PropertySet/PropTest.java b/odk/examples/java/PropertySet/PropTest.java index 3e1014e9a9f2..396cb15b084a 100644 --- a/odk/examples/java/PropertySet/PropTest.java +++ b/odk/examples/java/PropertySet/PropTest.java @@ -257,9 +257,10 @@ public class PropTest extends PropertySet implements XServiceInfo return xSingleServiceFactory; } - // This method not longer necessary since OOo 3.4 where the component registration was + // 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 regKey) // { // return FactoryHelper.writeRegistryServiceInfo( PropTest.class.getName(), diff --git a/odk/examples/java/Spreadsheet/CalcAddins.java b/odk/examples/java/Spreadsheet/CalcAddins.java index 7b5e1d94f698..58de5d492869 100644 --- a/odk/examples/java/Spreadsheet/CalcAddins.java +++ b/odk/examples/java/Spreadsheet/CalcAddins.java @@ -295,9 +295,10 @@ public class CalcAddins { * @param regKey the registryKey * @see com.sun.star.comp.loader.JavaLoader */ - // This method not longer necessary since OOo 3.4 where the component registration was + // 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 regKey) { // return FactoryHelper.writeRegistryServiceInfo(_CalcAddins.class.getName(), // _CalcAddins.__serviceName, regKey) diff --git a/odk/examples/java/ToDo/ToDo.java b/odk/examples/java/ToDo/ToDo.java index 722ee8a46d37..780c001e346e 100644 --- a/odk/examples/java/ToDo/ToDo.java +++ b/odk/examples/java/ToDo/ToDo.java @@ -957,9 +957,10 @@ public class ToDo { * @param regKey the registryKey * @see com.sun.star.comp.loader.JavaLoader */ - // This method not longer necessary since OOo 3.4 where the component registration was + // 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 regKey) { // return Factory.writeRegistryServiceInfo(ToDoImpl.class.getName(), // ToDoImpl.getServiceNames(), regKey); |