|
UDK 3.2.7 Java API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.star.comp.helper.Bootstrap
public class Bootstrap
Bootstrap offers functionality to obtain a context or simply a service manager. The service manager can create a few basic services, whose implementations are:
XSet xSet = (XSet)UnoRuntime.queryInterface( XSet.class, aMultiComponentFactory );
// insert the service manager
xSet.insert( aSingleComponentFactory );
| Constructor Summary | |
|---|---|
Bootstrap()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Bootstrap()
| Method Detail |
|---|
public static XComponentContext createInitialComponentContext(Hashtable context_entries)
throws Exception
context_entries - the hash table contains mappings of entry names (type string) to
context entries (type class ComponentContextEntry).
Exception
public static XMultiServiceFactory createSimpleServiceManager()
throws Exception
ExceptionServiceManager
public static final XComponentContext defaultBootstrap_InitialComponentContext()
throws Exception
Exceptioncppuhelper/defaultBootstrap_InitialComponentContext()
public static final XComponentContext defaultBootstrap_InitialComponentContext(String ini_file,
Hashtable bootstrap_parameters)
throws Exception
ini_file - ini_file (may be null: uno.rc besides cppuhelper lib)bootstrap_parameters - bootstrap parameters (maybe null)
Exceptioncppuhelper/defaultBootstrap_InitialComponentContext()
public static final XComponentContext bootstrap()
throws BootstrapException
BootstrapException
|
UDK 3.2.7 Java API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||