diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-19 08:48:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-19 08:48:56 +0100 |
commit | ae3a0c8da50b36db395984637f5ad74d3b4887bc (patch) | |
tree | c4936b9fba1f24d412d41474ebef44a5f094dbc8 /stoc/util | |
parent | 80d977b896904a0261d32857469c1b3e7516ca1e (diff) |
Add .component <implementation constructor="..." feature
...to directly call constructor functions of ComponentContext-based C++
implementations of (non-single-instance) UNO services. The case where these
calls would need to be bridged across different environments (e.g., from gcc3
to gcc3:affine) is not yet implemented.
bootstrap.component and expwrap.component are adapted accordingly as a proof-of-
concept (which had previously been adapted to use the prefix="direct" feature,
which may become unnecessary again in the end, depending on how to handle
single-instance services/singletons). More to follow.
Change-Id: I18682d75bcd29d3d427e31331b4ce8161dbb846d
Diffstat (limited to 'stoc/util')
-rw-r--r-- | stoc/util/bootstrap.component | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/stoc/util/bootstrap.component b/stoc/util/bootstrap.component index f06de749e6ac..81f622e2d222 100644 --- a/stoc/util/bootstrap.component +++ b/stoc/util/bootstrap.component @@ -18,30 +18,39 @@ --> <component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@" - prefix="direct" xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.comp.stoc.DLLComponentLoader"> + xmlns="http://openoffice.org/2010/uno-components"> + <implementation name="com.sun.star.comp.stoc.DLLComponentLoader" + constructor="com_sun_star_comp_stoc_DLLComponentLoader"> <service name="com.sun.star.loader.SharedLibrary"/> </implementation> - <implementation name="com.sun.star.comp.stoc.ImplementationRegistration"> + <implementation name="com.sun.star.comp.stoc.ImplementationRegistration" + constructor="com_sun_star_comp_stoc_ImplementationRegistration"> <service name="com.sun.star.registry.ImplementationRegistration"/> </implementation> - <implementation name="com.sun.star.comp.stoc.NestedRegistry"> + <implementation name="com.sun.star.comp.stoc.NestedRegistry" + constructor="com_sun_star_comp_stoc_NestedRegistry"> <service name="com.sun.star.registry.NestedRegistry"/> </implementation> - <implementation name="com.sun.star.comp.stoc.ORegistryServiceManager"> + <implementation name="com.sun.star.comp.stoc.ORegistryServiceManager" + constructor="com_sun_star_comp_stoc_ORegistryServiceManager"> <service name="com.sun.star.lang.RegistryServiceManager"/> </implementation> - <implementation name="com.sun.star.comp.stoc.OServiceManager"> + <implementation name="com.sun.star.comp.stoc.OServiceManager" + constructor="com_sun_star_comp_stoc_OServiceManager"> <service name="com.sun.star.lang.ServiceManager"/> </implementation> - <implementation name="com.sun.star.comp.stoc.OServiceManagerWrapper"/> - <implementation name="com.sun.star.comp.stoc.SimpleRegistry"> + <implementation name="com.sun.star.comp.stoc.OServiceManagerWrapper" + constructor="com_sun_star_comp_stoc_OServiceManagerWrapper"/> + <implementation name="com.sun.star.comp.stoc.SimpleRegistry" + constructor="com_sun_star_comp_stoc_SimpleRegistry"> <service name="com.sun.star.registry.SimpleRegistry"/> </implementation> - <implementation name="com.sun.star.security.comp.stoc.AccessController"> + <implementation name="com.sun.star.security.comp.stoc.AccessController" + constructor="com_sun_star_security_comp_stoc_AccessController"> <service name="com.sun.star.security.AccessController"/> </implementation> - <implementation name="com.sun.star.security.comp.stoc.FilePolicy"> + <implementation name="com.sun.star.security.comp.stoc.FilePolicy" + constructor="com_sun_star_security_comp_stoc_FilePolicy"> <service name="com.sun.star.security.Policy"/> </implementation> </component> |