UDK 3.2.0 Java API Reference

com.sun.star.comp.helper
クラス Bootstrap

java.lang.Object
  拡張com.sun.star.comp.helper.Bootstrap

public class Bootstrap
extends Object

Bootstrap offers functionality to obtain a context or simply a service manager. The service manager can create a few basic services, whose implementations are:

Other services can be inserted into the service manager by using its XSet interface:
                XSet xSet = (XSet)UnoRuntime.queryInterface( XSet.class, aMultiComponentFactory );
                // insert the service manager
                xSet.insert( aSingleComponentFactory );
        


コンストラクタの概要
Bootstrap()
           
 
メソッドの概要
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.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Bootstrap

public Bootstrap()
メソッドの詳細

createInitialComponentContext

public static XComponentContext createInitialComponentContext(Hashtable context_entries)
                                                       throws Exception
Bootstraps an initial component context with service manager and basic jurt components inserted.

パラメータ:
context_entries - the hash table contains mappings of entry names (type string) to context entries (type class ComponentContextEntry).
戻り値:
a new context.
例外:
Exception

createSimpleServiceManager

public static XMultiServiceFactory createSimpleServiceManager()
                                                       throws Exception
Bootstraps a servicemanager with the jurt base components registered.

戻り値:
a freshly boostrapped service manager
例外:
Exception
関連項目:
ServiceManager

defaultBootstrap_InitialComponentContext

public static final XComponentContext defaultBootstrap_InitialComponentContext()
                                                                        throws Exception
Bootstraps the initial component context from a native UNO installation.

例外:
Exception
関連項目:
cppuhelper/defaultBootstrap_InitialComponentContext()

defaultBootstrap_InitialComponentContext

public static final XComponentContext defaultBootstrap_InitialComponentContext(String ini_file,
                                                                               Hashtable bootstrap_parameters)
                                                                        throws Exception
Bootstraps the initial component context from a native UNO installation.

パラメータ:
ini_file - ini_file (may be null: uno.rc besides cppuhelper lib)
bootstrap_parameters - bootstrap parameters (maybe null)
例外:
Exception
関連項目:
cppuhelper/defaultBootstrap_InitialComponentContext()

bootstrap

public static final XComponentContext bootstrap()
                                         throws BootstrapException
Bootstraps the component context from a UNO installation.

戻り値:
a bootstrapped component context.
例外:
BootstrapException
導入されたバージョン:
UDK 3.1.0

UDK 3.2.0 Java API Reference