|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.star.comp.helper.SharedLibraryLoader
The SharedLibraryLoader
class provides the functionality of the com.sun.star.loader.SharedLibrary
service.
com.sun.star.loader.SharedLibrary
,
com.sun.star.comp.servicemanager.ServiceManager
,
com.sun.star.lang.ServiceManager
Field Summary | |
static java.lang.String |
DEFAULT_IMPLEMENTATION
The default implementation name |
static java.lang.String |
DEFAULT_LIBRARY
The default library which contains the SharedLibraryLoader component |
Constructor Summary | |
SharedLibraryLoader()
|
Method Summary | |
static com.sun.star.lang.XSingleServiceFactory |
getServiceFactory(java.lang.String libName,
java.lang.String impName,
com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
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)
Supplies the ServiceFactory of the default SharedLibraryLoader. |
static boolean |
writeRegistryServiceInfo(java.lang.String libName,
com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
Registers the SharedLibraryLoader under a RegistryKey. |
static boolean |
writeRegistryServiceInfo(com.sun.star.lang.XMultiServiceFactory smgr,
com.sun.star.registry.XRegistryKey regKey)
Registers the SharedLibraryLoader under a RegistryKey. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_LIBRARY
public static final java.lang.String DEFAULT_IMPLEMENTATION
Constructor Detail |
public SharedLibraryLoader()
Method Detail |
public static com.sun.star.lang.XSingleServiceFactory getServiceFactory(com.sun.star.lang.XMultiServiceFactory smgr, com.sun.star.registry.XRegistryKey regKey)
smgr
- the ServiceManagerregKey
- the root registry key
com.sun.star.loader.SharedLibrary
,
com.sun.star.lang.ServiceManager
,
com.sun.star.registry.RegistryKey
public static com.sun.star.lang.XSingleServiceFactory getServiceFactory(java.lang.String libName, java.lang.String impName, com.sun.star.lang.XMultiServiceFactory smgr, com.sun.star.registry.XRegistryKey regKey)
libName
- the name of the shared libraryimpName
- the implementation name of the componentsmgr
- the ServiceManagerregKey
- the root registry key
com.sun.star.loader.SharedLibrary
,
com.sun.star.lang.ServiceManager
,
com.sun.star.registry.RegistryKey
public static boolean writeRegistryServiceInfo(com.sun.star.lang.XMultiServiceFactory smgr, com.sun.star.registry.XRegistryKey regKey)
smgr
- the ServiceManagerregKey
- the root key under that the component should be registered
com.sun.star.loader.SharedLibrary
,
com.sun.star.lang.ServiceManager
,
com.sun.star.registry.RegistryKey
public static boolean writeRegistryServiceInfo(java.lang.String libName, com.sun.star.lang.XMultiServiceFactory smgr, com.sun.star.registry.XRegistryKey regKey) throws com.sun.star.registry.InvalidRegistryException, RuntimeException
libName
- name of the shared librarysmgr
- the ServiceManagerregKey
- the root key under that the component should be registered
com.sun.star.registry.InvalidRegistryException
RuntimeException
com.sun.star.loader.SharedLibrary
,
com.sun.star.lang.ServiceManager
,
com.sun.star.registry.RegistryKey
|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |