Language
	
	Asturianu (ast) 
	Català (ca) 
	Čeština (cs) 
	Dansk (da) 
	Deutsch (de) 
	
	English [US] (en-US) 
	Español (es) 
	Esperanto (eo) 
	Eesti keel (et) 
	Euskara (eu) 
	Français (fr) 
	Gàidhlig (gd) 
	Galego (gl) 
	Italiano (it) 
	Lietuvių (lt) 
	Magyar (hu) 
	Nederlands (nl) 
	Norsk (no) 
	Polski (pl) 
	Português [do Brasil] (pt-BR) 
	Português [Europeu] (pt) 
	Română (ro) 
	Slovenčina (sk) 
	Slovenščina (sl) 
	Suomi (fi) 
	Svenska (sv) 
	Yкраїнська (uk) 
	Tiếng Việt (vi) 
	Türkçe (tr) 
	ኦሮሚኛ (om) 
	Հայերեն (hy) 
	Ελληνικά (el) 
	български език (bg) 
	Русский (ru) 
	Cрпски [ћирилицом] (sr) 
	
	עברית (he) 
	हिन्दी (hi) 
	ភាសាខ្មែរ (km) 
	தமிழ் (ta) 
	ภาษาไทย (th) 
	简体中文 (zh-CN) 
	正體中文 (zh-TW) 
	日本語 (ja) 
	한국어 (ko) 
	 
	
  
  
    
     The Free and Open Productivity Suite
   
      
      
Bootstrap (Java UNO Runtime Reference)
 
 
 
 
 
 
 
 
 
com.sun.star.comp.helper 
 
Class 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:
        
        com.sun.star.comp.loader.JavaLoader 
        com.sun.star.comp.urlresolver.UrlResolver 
        com.sun.star.comp.bridgefactory.BridgeFactory 
        com.sun.star.comp.connections.Connector 
        com.sun.star.comp.connections.Acceptor 
        com.sun.star.comp.servicemanager.ServiceManager 
         
        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 );
         
 
 
 
 
  
Methods inherited from class 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.
Parameters: context_entries - the hash table contains mappings of entry names (type string) to
                context entries (type class ComponentContextEntry).
Returns: a new context.
 Throws: 
Exception  
 
  
 
createSimpleServiceManager 
public static XMultiServiceFactory  createSimpleServiceManager ()
                                                       throws Exception  
Bootstraps a servicemanager with the jurt base components registered.
 
Returns: a freshly boostrapped service manager
 Throws: 
Exception See Also: ServiceManager 
 
  
 
defaultBootstrap_InitialComponentContext 
public static final XComponentContext  defaultBootstrap_InitialComponentContext ()
                                                                        throws Exception  
Bootstraps the initial component context from a native UNO installation.
Throws: 
Exception See Also: 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.
Parameters: ini_file - ini_file (may be null: uno.rc besides cppuhelper lib)bootstrap_parameters - bootstrap parameters (maybe null)
Throws: 
Exception See Also: cppuhelper/defaultBootstrap_InitialComponentContext() 
 
  
 
bootstrap 
public static final XComponentContext  bootstrap ()
                                         throws BootstrapException  
Bootstraps the component context from a UNO installation.
Returns: a bootstrapped component context.
 Throws: 
BootstrapException Since:  
  UDK 3.1.0