com.sun.star.comp.helper
public class Bootstrap extends Object
XSet xSet = UnoRuntime.queryInterface( XSet.class, aMultiComponentFactory ); // insert the service manager xSet.insert( aSingleComponentFactory );
Method Summary | |
---|---|
static XComponentContext | bootstrap()
Bootstraps the component context from a UNO installation.
|
static XComponentContext | createInitialComponentContext(Hashtable context_entries) Bootstraps an initial component context with service manager and basic
jurt components inserted. |
static XMultiServiceFactory | createSimpleServiceManager()
Bootstraps a servicemanager with the jurt base components registered.
|
static XComponentContext | defaultBootstrap_InitialComponentContext() Bootstraps the initial component context from a native UNO installation. |
static XComponentContext | defaultBootstrap_InitialComponentContext(String ini_file, Hashtable bootstrap_parameters) Bootstraps the initial component context from a native UNO installation. |
Returns: a bootstrapped component context.
Since: UDK 3.1.0
Parameters: context_entries the hash table contains mappings of entry names (type string) to context entries (type class ComponentContextEntry).
Returns: a new context.
Returns: a freshly boostrapped service manager
See Also: com.sun.star.lang.ServiceManager
See Also: cppuhelper/defaultBootstrap_InitialComponentContext()
Parameters: ini_file ini_file (may be null: uno.rc besides cppuhelper lib) bootstrap_parameters bootstrap parameters (maybe null)
See Also: cppuhelper/defaultBootstrap_InitialComponentContext()