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
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.