|
UDK 3.1.0 Java API Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.sun.star.comp.helper.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 |
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
Exceptioncom.sun.star.lang.ServiceManager
public static final XComponentContext defaultBootstrap_InitialComponentContext()
throws Exception
Exception
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)
Exception
|
UDK 3.1.0 Java API Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||