SharedLibraryLoader class provides the functionality of the com.sun.star.loader.SharedLibrary
service.
See also UNOIDL com.sun.star.lang.ServiceManager.public class SharedLibraryLoader extends Object
SharedLibrary| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_IMPLEMENTATION
Deprecated.
The default implementation name
|
static String |
DEFAULT_LIBRARY
Deprecated.
The default library which contains the SharedLibraryLoader component
|
| Constructor and Description |
|---|
SharedLibraryLoader()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static com.sun.star.lang.XSingleServiceFactory |
getServiceFactory(String libName,
String impName,
com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
Deprecated.
Loads and returns a specific factory for a given library and implementation name.
|
static com.sun.star.lang.XSingleServiceFactory |
getServiceFactory(com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
Deprecated.
Supplies the ServiceFactory of the default SharedLibraryLoader.
|
static boolean |
writeRegistryServiceInfo(String libName,
com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
Deprecated.
Registers the SharedLibraryLoader under a RegistryKey.
|
static boolean |
writeRegistryServiceInfo(com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
Deprecated.
Registers the SharedLibraryLoader under a RegistryKey.
|
public static final String DEFAULT_LIBRARY
public static final String DEFAULT_IMPLEMENTATION
public static com.sun.star.lang.XSingleServiceFactory getServiceFactory(com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
com.sun.star.lang.ServiceManager and
com.sun.star.registry.RegistryKey.smgr - the ServiceManagerregKey - the root registry keySharedLibrarypublic static com.sun.star.lang.XSingleServiceFactory getServiceFactory(String libName, String impName, com.sun.star.lang.XMultiServiceFactory smgr, com.sun.star.registry.XRegistryKey regKey)
com.sun.star.lang.ServiceManager and
com.sun.star.registry.RegistryKey.libName - the name of the shared libraryimpName - the implementation name of the componentsmgr - the ServiceManagerregKey - the root registry keySharedLibrarypublic static boolean writeRegistryServiceInfo(com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
com.sun.star.lang.ServiceManager and
com.sun.star.registry.RegistryKey.smgr - the ServiceManagerregKey - the root key under that the component should be registeredSharedLibrarypublic static boolean writeRegistryServiceInfo(String libName, com.sun.star.lang.XMultiServiceFactory smgr, com.sun.star.registry.XRegistryKey regKey) throws com.sun.star.registry.InvalidRegistryException, com.sun.star.uno.RuntimeException
com.sun.star.lang.ServiceManager and
com.sun.star.registry.RegistryKey.libName - name of the shared librarysmgr - the ServiceManagerregKey - the root key under that the component should be registeredcom.sun.star.registry.InvalidRegistryException - if the registry is not valid.com.sun.star.uno.RuntimeExceptionSharedLibrary