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.
public 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.
The defaults are "cpld" for the library and "com.sun.star.comp.stoc.DLLComponentLoader"
for the component name.
Parameters:
smgr - the ServiceManager
regKey - the root registry key
Returns:
the factory for the "com.sun.star.comp.stoc.DLLComponentLoader" component.