summaryrefslogtreecommitdiff
path: root/cppuhelper/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-04-20 22:46:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-20 22:57:32 +0200
commitc2fd9b533cfad18735df212cc7fd61443628dc0c (patch)
tree92417b3365012a8e405982302d5fcffd4f03e4e9 /cppuhelper/inc
parentb2fdaed46509127ec3ac2fb87404bc1b51d77778 (diff)
New cppu::defaultBootstrap_InitialComponentContext implementation
...that no longer uses XSimpleRegistry structures for the service data and thus is potentially more performant. * Registry-based functions from cppuhelper/bootstrap are deprecated now, client code should always use defaultBootstrap_InitialComponentContext. * References to the obsolete UNO_WRITERDB have been removed. * Some of the functions in cppuhelper/source that are used from multiple .cxx but had not been properly placed into .hxx have been cleaned up. * css.lang.ServiceManager XSet insert/remove now support special sequence<NamedValue> to improve live deployment/removal of XML-based extension components data. * 09524d410bbaad2a0b9b39811cb5cc16621b1396 "stoc: accelerate opening of multiple XML .rdb files in a directory" and its follow-up cb5c881a7f179391ee853f76e159254c97d776a3 "avoid using the new rdb reading logic for empty/non-existent directories" have been obsoleted by this change and have been reverted again.
Diffstat (limited to 'cppuhelper/inc')
-rw-r--r--cppuhelper/inc/cppuhelper/bootstrap.hxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/cppuhelper/inc/cppuhelper/bootstrap.hxx b/cppuhelper/inc/cppuhelper/bootstrap.hxx
index 319854a14960..5d83d263d8de 100644
--- a/cppuhelper/inc/cppuhelper/bootstrap.hxx
+++ b/cppuhelper/inc/cppuhelper/bootstrap.hxx
@@ -48,6 +48,10 @@ namespace cppu
@rBootstrapPath optional bootstrap path for initial components
@return simple registry service instance
+
+ @deprecated Registry-based type/service information is successively
+ replaced with more modern formats; client code should exclusively use
+ ::cppu::defaultBootstrap_InitialComponentContext (or ::cppu::bootstrap).
*/
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry >
SAL_CALL createSimpleRegistry(
@@ -58,6 +62,10 @@ SAL_CALL createSimpleRegistry(
@rBootstrapPath optional bootstrap path for initial components
@return nested registry service instance
+
+ @deprecated Registry-based type/service information is successively
+ replaced with more modern formats; client code should exclusively use
+ ::cppu::defaultBootstrap_InitialComponentContext (or ::cppu::bootstrap).
*/
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry >
SAL_CALL createNestedRegistry(
@@ -83,6 +91,10 @@ CPPUHELPER_DLLPUBLIC sal_Bool SAL_CALL installTypeDescriptionManager(
@param xRegistry registry for service manager and singleton objects of context (may be null)
@param rBootstrapPath optional bootstrap path for initial components
@return component context
+
+ @deprecated Registry-based type/service information is successively
+ replaced with more modern formats; client code should exclusively use
+ ::cppu::defaultBootstrap_InitialComponentContext (or ::cppu::bootstrap).
*/
CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > SAL_CALL
bootstrap_InitialComponentContext(
@@ -91,19 +103,13 @@ bootstrap_InitialComponentContext(
SAL_THROW( (::com::sun::star::uno::Exception) );
-/** Bootstraps an initial component context with service manager upon default types and
- services registry.
- This includes insertion of initial services:
- - (registry) service manager, shared lib loader,
- - simple registry, nested registry,
- - implementation registration
- - registry typedescription provider, typedescription manager (also installs it into cppu core)
+/** Bootstraps an initial component context with service manager upon
+ information from bootstrap variables.
This function tries to find its parameters via these bootstrap variables:
- UNO_TYPES -- a space separated list of file urls of type rdbs
- UNO_SERVICES -- a space separated list of file urls of service rdbs
- - UNO_WRITERDB -- a file url of a write rdb (e.g. user.rdb)
Please look at http://udk.openoffice.org/common/man/concept/uno_default_bootstrapping.html
for further info.
@@ -114,19 +120,13 @@ CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XC
defaultBootstrap_InitialComponentContext() SAL_THROW( (::com::sun::star::uno::Exception) );
-/** Bootstraps an initial component context with service manager upon default types and
- services registry.
- This includes insertion of initial services:
- - (registry) service manager, shared lib loader,
- - simple registry, nested registry,
- - implementation registration
- - registry typedescription provider, typedescription manager (also installs it into cppu core)
+/** Bootstraps an initial component context with service manager upon
+ information from an ini file.
This function tries to find its parameters via these bootstrap variables:
- UNO_TYPES -- a space separated list of file urls of type rdbs
- UNO_SERVICES -- a space separated list of file urls of service rdbs
- - UNO_WRITERDB -- a file url of a write rdb (e.g. user.rdb)
Please look at http://udk.openoffice.org/common/man/concept/uno_default_bootstrapping.html
for further info.