Other services can be inserted into the service manager by using its XSet interface:
XSet xSet = UnoRuntime.queryInterface( XSet.class, aMultiComponentFactory ); // insert the service manager xSet.insert( aSingleComponentFactory );
| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| private static final Random |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static com. | |
| public static com. | |
| private static native Object | |
| public static com. | Returns: a new context.the hash table contains mappings of entry names (type string) to context entries (type class ComponentContextEntry). context_entries)backwards compatibility stub. |
| public static com. | Returns: a new context.the hash table contains mappings of entry names (type string) to context entries (type class ComponentContextEntry). context_entries)Bootstraps an initial component context with service manager and basic jurt components inserted. |
| public static com. | Returns: a freshly bootstrapped service managerBootstraps a servicemanager with the jurt base components registered. |
| public static com. | Returns: a freshly bootstrapped component context.See also
Bootstraps the initial component context from a native UNO installation. |
| public static com. | Returns: a freshly bootstrapped component context.ini_file (may be null: uno.rc besides cppuhelper lib) ini_file, Hashtable<String, String> bootstrap parameters (maybe null) bootstrap_parameters)Backwards compatibility stub. |
| public static com. | Returns: a freshly bootstrapped component context.ini_file (may be null: uno.rc besides cppuhelper lib) ini_file, Map<String, String> bootstrap parameters (maybe null) bootstrap_parameters)Bootstraps the initial component context from a native UNO installation. |
| public static String[] | Returns: an array of default commandline optionsReturns an array of default commandline options to start bootstrapped instance of soffice with. |
| private static void | insertBasicFactories(com.
|
| private static void |
| M_LOADED_JUH | back to summary |
|---|---|
| private static boolean M_LOADED_JUH | |
| RANDOM_PIPE_NAME | back to summary |
|---|---|
| private static final Random RANDOM_PIPE_NAME | |
| Bootstrap | back to summary |
|---|---|
| public Bootstrap() | |
| bootstrap | back to summary |
|---|---|
| public static com. Bootstraps the component context from a UNO installation.
| |
| bootstrap | back to summary |
|---|---|
| public static com. Bootstraps the component context from a UNO installation.
| |
| cppuhelper_bootstrap | back to summary |
|---|---|
| private static native Object cppuhelper_bootstrap(String ini_file, String[] bootstrap_parameters, ClassLoader loader) | |
| createInitialComponentContext | back to summary |
|---|---|
| public static com. backwards compatibility stub.
| |
| createInitialComponentContext | back to summary |
|---|---|
| public static com. Bootstraps an initial component context with service manager and basic jurt components inserted.
| |
| createSimpleServiceManager | back to summary |
|---|---|
| public static com. Bootstraps a servicemanager with the jurt base components registered. See also UNOIDL
| |
| defaultBootstrap_InitialComponentContext | back to summary |
|---|---|
| public static com. Bootstraps the initial component context from a native UNO installation.
| |
| defaultBootstrap_InitialComponentContext | back to summary |
|---|---|
| public static com. Backwards compatibility stub. | |
| defaultBootstrap_InitialComponentContext | back to summary |
|---|---|
| public static com. Bootstraps the initial component context from a native UNO installation. See also
| |
| getDefaultOptions | back to summary |
|---|---|
| public static String[] getDefaultOptions() Returns an array of default commandline options to start bootstrapped instance of soffice with. You may use it in connection with bootstrap method for example like this: List list = Arrays.asList( Bootstrap.getDefaultOptions() ); list.remove("--nologo"); list.remove("--nodefault"); list.add("--invisible"); Bootstrap.bootstrap( list.toArray( new String[list.size()] );
| |
| insertBasicFactories | back to summary |
|---|---|
| private static void insertBasicFactories(com. | |
| pipe | back to summary |
|---|---|
| private static void pipe(final InputStream in, final PrintStream out, final String prefix) | |