UDK 3.1.0 Java API Reference

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

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

推奨されていません。 use class Bootstrap bootstrapping a native UNO installation and use the shared library loader service. The SharedLibraryLoader class provides the functionality of the com.sun.star.loader.SharedLibrary service.

public class SharedLibraryLoader
extends Object

導入されたバージョン:
UDK1.0
関連項目:
SharedLibrary, com.sun.star.comp.servicemanager.ServiceManager, ServiceManager

フィールドの概要
static String DEFAULT_IMPLEMENTATION
          推奨されていません。 The default implementation name
static String DEFAULT_LIBRARY
          推奨されていません。 The default library which contains the SharedLibraryLoader component
 
コンストラクタの概要
SharedLibraryLoader()
          推奨されていません。  
 
メソッドの概要
static XSingleServiceFactory getServiceFactory(String libName, String impName, XMultiServiceFactory smgr, XRegistryKey regKey)
          推奨されていません。 Loads and returns a specific factory for a given library and implementation name.
static XSingleServiceFactory getServiceFactory(XMultiServiceFactory smgr, XRegistryKey regKey)
          推奨されていません。 Supplies the ServiceFactory of the default SharedLibraryLoader.
static boolean writeRegistryServiceInfo(String libName, XMultiServiceFactory smgr, XRegistryKey regKey)
          推奨されていません。 Registers the SharedLibraryLoader under a RegistryKey.
static boolean writeRegistryServiceInfo(XMultiServiceFactory smgr, XRegistryKey regKey)
          推奨されていません。 Registers the SharedLibraryLoader under a RegistryKey.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

DEFAULT_LIBRARY

public static final String DEFAULT_LIBRARY
推奨されていません。 
The default library which contains the SharedLibraryLoader component

関連項目:
定数フィールド値

DEFAULT_IMPLEMENTATION

public static final String DEFAULT_IMPLEMENTATION
推奨されていません。 
The default implementation name

関連項目:
定数フィールド値
コンストラクタの詳細

SharedLibraryLoader

public SharedLibraryLoader()
推奨されていません。 
メソッドの詳細

getServiceFactory

public static XSingleServiceFactory getServiceFactory(XMultiServiceFactory smgr,
                                                      XRegistryKey regKey)
推奨されていません。 
Supplies the ServiceFactory of the default SharedLibraryLoader. The defaults are "shlibloader.uno" for the library and "com.sun.star.comp.stoc.DLLComponentLoader" for the component name.

パラメータ:
smgr - the ServiceManager
regKey - the root registry key
戻り値:
the factory for the "com.sun.star.comp.stoc.DLLComponentLoader" component.
関連項目:
SharedLibrary, ServiceManager, RegistryKey

getServiceFactory

public static XSingleServiceFactory getServiceFactory(String libName,
                                                      String impName,
                                                      XMultiServiceFactory smgr,
                                                      XRegistryKey regKey)
推奨されていません。 
Loads and returns a specific factory for a given library and implementation name.

パラメータ:
libName - the name of the shared library
impName - the implementation name of the component
smgr - the ServiceManager
regKey - the root registry key
戻り値:
the factory of the component
関連項目:
SharedLibrary, ServiceManager, RegistryKey

writeRegistryServiceInfo

public static boolean writeRegistryServiceInfo(XMultiServiceFactory smgr,
                                               XRegistryKey regKey)
推奨されていません。 
Registers the SharedLibraryLoader under a RegistryKey.

パラメータ:
smgr - the ServiceManager
regKey - the root key under that the component should be registered
戻り値:
true if the registration was successfull - otherwise false
関連項目:
SharedLibrary, ServiceManager, RegistryKey

writeRegistryServiceInfo

public static boolean writeRegistryServiceInfo(String libName,
                                               XMultiServiceFactory smgr,
                                               XRegistryKey regKey)
                                        throws InvalidRegistryException,
                                               RuntimeException
推奨されていません。 
Registers the SharedLibraryLoader under a RegistryKey.

パラメータ:
libName - name of the shared library
smgr - the ServiceManager
regKey - the root key under that the component should be registered
戻り値:
true if the registration was successfull - otherwise false
例外:
InvalidRegistryException
RuntimeException
関連項目:
SharedLibrary, ServiceManager, RegistryKey

UDK 3.1.0 Java API Reference