com.sun.star.comp.helper
public class SharedLibraryLoader extends Object
Deprecated: 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.
See Also: com.sun.star.loader.SharedLibrary com.sun.star.comp.servicemanager.ServiceManager com.sun.star.lang.ServiceManager
Field Summary | |
---|---|
static String | DEFAULT_IMPLEMENTATION
The default implementation name |
static String | DEFAULT_LIBRARY
The default library which contains the SharedLibraryLoader component |
Method Summary | |
---|---|
static XSingleServiceFactory | getServiceFactory(XMultiServiceFactory smgr, XRegistryKey regKey)
Supplies the ServiceFactory of the default 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 boolean | writeRegistryServiceInfo(XMultiServiceFactory smgr, XRegistryKey regKey)
Registers the SharedLibraryLoader under a RegistryKey.
|
static boolean | writeRegistryServiceInfo(String libName, XMultiServiceFactory smgr, XRegistryKey regKey)
Registers the SharedLibraryLoader under a RegistryKey.
|
Parameters: smgr the ServiceManager regKey the root registry key
Returns: the factory for the "com.sun.star.comp.stoc.DLLComponentLoader" component.
See Also: com.sun.star.loader.SharedLibrary com.sun.star.lang.ServiceManager com.sun.star.registry.RegistryKey
Parameters: libName the name of the shared library impName the implementation name of the component smgr the ServiceManager regKey the root registry key
Returns: the factory of the component
See Also: com.sun.star.loader.SharedLibrary com.sun.star.lang.ServiceManager com.sun.star.registry.RegistryKey
Parameters: smgr the ServiceManager regKey the root key under that the component should be registered
Returns: true if the registration was successfull - otherwise false
See Also: com.sun.star.loader.SharedLibrary com.sun.star.lang.ServiceManager com.sun.star.registry.RegistryKey
Parameters: libName name of the shared library smgr the ServiceManager regKey the root key under that the component should be registered
Returns: true if the registration was successfull - otherwise false
See Also: com.sun.star.loader.SharedLibrary com.sun.star.lang.ServiceManager com.sun.star.registry.RegistryKey