|
UDK 3.2.7 Java API Reference | |||||||||
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
SharedLibraryLoader
class provides the functionality of the com.sun.star.loader.SharedLibrary
service.
public class SharedLibraryLoader
SharedLibrary
,
com.sun.star.comp.servicemanager.ServiceManager
,
ServiceManager
Field Summary | |
---|---|
static String |
DEFAULT_IMPLEMENTATION
Deprecated. The default implementation name |
static String |
DEFAULT_LIBRARY
Deprecated. The default library which contains the SharedLibraryLoader component |
Constructor Summary | |
---|---|
SharedLibraryLoader()
Deprecated. |
Method Summary | |
---|---|
static XSingleServiceFactory |
getServiceFactory(String libName,
String impName,
XMultiServiceFactory smgr,
XRegistryKey regKey)
Deprecated. Loads and returns a specific factory for a given library and implementation name. |
static XSingleServiceFactory |
getServiceFactory(XMultiServiceFactory smgr,
XRegistryKey regKey)
Deprecated. Supplies the ServiceFactory of the default SharedLibraryLoader. |
static boolean |
writeRegistryServiceInfo(String libName,
XMultiServiceFactory smgr,
XRegistryKey regKey)
Deprecated. Registers the SharedLibraryLoader under a RegistryKey. |
static boolean |
writeRegistryServiceInfo(XMultiServiceFactory smgr,
XRegistryKey regKey)
Deprecated. 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 String DEFAULT_LIBRARY
public static final String DEFAULT_IMPLEMENTATION
Constructor Detail |
---|
public SharedLibraryLoader()
Method Detail |
---|
public static XSingleServiceFactory getServiceFactory(XMultiServiceFactory smgr, XRegistryKey regKey)
smgr
- the ServiceManagerregKey
- the root registry key
SharedLibrary
,
ServiceManager
,
RegistryKey
public static XSingleServiceFactory getServiceFactory(String libName, String impName, XMultiServiceFactory smgr, XRegistryKey regKey)
libName
- the name of the shared libraryimpName
- the implementation name of the componentsmgr
- the ServiceManagerregKey
- the root registry key
SharedLibrary
,
ServiceManager
,
RegistryKey
public static boolean writeRegistryServiceInfo(XMultiServiceFactory smgr, XRegistryKey regKey)
smgr
- the ServiceManagerregKey
- the root key under that the component should be registered
SharedLibrary
,
ServiceManager
,
RegistryKey
public static boolean writeRegistryServiceInfo(String libName, XMultiServiceFactory smgr, XRegistryKey regKey) throws InvalidRegistryException, RuntimeException
libName
- name of the shared librarysmgr
- the ServiceManagerregKey
- the root key under that the component should be registered
InvalidRegistryException
RuntimeException
SharedLibrary
,
ServiceManager
,
RegistryKey
|
UDK 3.2.7 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |