Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


Global Functions in Namespace cppu
in Sourcefile bootstrap.hxx


bootstrap
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > bootstrap();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
* Bootstraps the component context from a UNO installation.
*   
* 
Return
a bootstrapped component context
* 
Since
UDK 3.2.0

bootstrap_InitialComponentContext
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > bootstrap_InitialComponentContext(
const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > & xRegistry,
const ::rtl::OUString & rBootstrapPath = :: rtl :: OUString )
throw( ::com::sun::star::uno::Exception );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
Bootstraps an initial component context with service manager upon a given 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)
  
Parameters
xRegistry
registry for service manager and singleton objects of context (may be null)
rBootstrapPath
optional bootstrap path for initial components
Return
component context

createNestedRegistry
::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > createNestedRegistry(
const ::rtl::OUString & rBootstrapPath = :: rtl :: OUString ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Creates a nested registry service instance.

Description
@rBootstrapPath optional bootstrap path for initial components
Return
nested registry service instance

createSimpleRegistry
::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > createSimpleRegistry(
const ::rtl::OUString & rBootstrapPath = :: rtl :: OUString ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Creates a simple registry service instance.

Description
@rBootstrapPath optional bootstrap path for initial components
Return
simple registry service instance

defaultBootstrap_InitialComponentContext
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > defaultBootstrap_InitialComponentContext()
throw( ::com::sun::star::uno::Exception );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
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)
  
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.

Return
component context

defaultBootstrap_InitialComponentContext
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > defaultBootstrap_InitialComponentContext(
const ::rtl::OUString & iniFile )
throw( ::com::sun::star::uno::Exception );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Description
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)
  
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.

Parameters
iniFile
ini filename to get bootstrap variables
Return
component context

installTypeDescriptionManager
sal_Bool installTypeDescriptionManager(
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XHierarchicalNameAccess > & xTDMgr ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
Installs type description manager instance, i.e. registers a callback at cppu core.

Parameters
xTDMgr
manager instance
Return
true, if successfully registered

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.