public class Bootstrap
extends java.lang.Object
XSet xSet = UnoRuntime.queryInterface( XSet.class, aMultiComponentFactory ); // insert the service manager xSet.insert( aSingleComponentFactory );
Constructor and Description |
---|
Bootstrap() |
Modifier and Type | Method and Description |
---|---|
static XComponentContext |
bootstrap()
Bootstraps the component context from a UNO installation.
|
static XComponentContext |
createInitialComponentContext(java.util.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(java.lang.String ini_file,
java.util.Hashtable bootstrap_parameters)
Bootstraps the initial component context from a native UNO installation.
|
public static XComponentContext createInitialComponentContext(java.util.Hashtable context_entries) throws java.lang.Exception
context_entries
- the hash table contains mappings of entry names (type string) to
context entries (type class ComponentContextEntry).java.lang.Exception
public static XMultiServiceFactory createSimpleServiceManager() throws java.lang.Exception
java.lang.Exception
public static final XComponentContext defaultBootstrap_InitialComponentContext() throws java.lang.Exception
java.lang.Exception
defaultBootstrap_InitialComponentContext()
public static final XComponentContext defaultBootstrap_InitialComponentContext(java.lang.String ini_file, java.util.Hashtable bootstrap_parameters) throws java.lang.Exception
ini_file
- ini_file (may be null: uno.rc besides cppuhelper lib)bootstrap_parameters
- bootstrap parameters (maybe null)java.lang.Exception
defaultBootstrap_InitialComponentContext()
public static final XComponentContext bootstrap() throws BootstrapException
BootstrapException