Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
 Overview   Namespace   Class   Index   Help 

Global Functions in Namespace cppu
in Sourcefile servicefactory.hxx


createRegistryServiceFactory
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > createRegistryServiceFactory(
const ::rtl::OUString & rWriteRegistryFile,
const ::rtl::OUString & rReadRegistryFile,
sal_Bool bReadOnly = sal_False,
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

D E P R E C A T E D
Summary
Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
Description
This bootstraps an initial service factory working on a registry. If the first or both parameters contain a value then the service factory is initialized with a simple registry or a nested registry. Otherwise the service factory must be initialized later with a valid registry.
Parameters
rWriteRegistryFile
file name of the simple registry or the first registry file of
the nested registry which will be opened with read/write rights. This
file will be created if necessary.
rReadRegistryFile
file name of the second registry file of the nested registry 
which will be opened with readonly rights.
bReadOnly
flag which specify that the first registry file will be opened with 
readonly rights. Default is FALSE. If this flag is used the registry 
will not be created if not exist.
rBootstrapPath
specifies a path where the bootstrap components could be find. If this
parameter is an empty string the compoents will be searched in the system
path.


createRegistryServiceFactory
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > createRegistryServiceFactory(
const ::rtl::OUString & rRegistryFile,
sal_Bool bReadOnly = sal_False,
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 YES NO

D E P R E C A T E D
Summary
Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
Description
This bootstraps an initial service factory working on a registry file.
Parameters
rRegistryFile
file name of the registry to use/ create; if this is an empty
string, the default registry is used instead
bReadOnly
flag which specify that the registry file will be opened with 
readonly rights. Default is FALSE. If this flag is used the registry 
will not be created if not exist.
rBootstrapPath
specifies a path where the bootstrap components could be find. If this
parameter is an empty string the compoents will be searched in the system
path.


createServiceFactory
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > createServiceFactory(
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 YES NO

D E P R E C A T E D
Summary
Deprecated. Use cppuhelper/bootstrap.hxx functions instead.
Description
This bootstraps a service factory without initialize a registry.
Parameters
rBootstrapPath
specifies a path where the bootstrap components could be find. If this
parameter is an empty string the compoents will be searched in the system
path.


Top of Page

Apache Software Foundation

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

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