Package com.sun.star.comp.helper
Class SharedLibraryLoader
java.lang.Object
com.sun.star.comp.helper.SharedLibraryLoader
Deprecated.
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic XSingleServiceFactorygetServiceFactory(XMultiServiceFactory smgr, XRegistryKey regKey) Deprecated.Supplies the ServiceFactory of the default SharedLibraryLoader.static XSingleServiceFactorygetServiceFactory(String libName, String impName, XMultiServiceFactory smgr, XRegistryKey regKey) Deprecated.Loads and returns a specific factory for a given library and implementation name.static booleanwriteRegistryServiceInfo(XMultiServiceFactory smgr, XRegistryKey regKey) Deprecated.Registers the SharedLibraryLoader under a RegistryKey.static booleanwriteRegistryServiceInfo(String libName, XMultiServiceFactory smgr, XRegistryKey regKey) Deprecated.Registers the SharedLibraryLoader under a RegistryKey.
- 
Field Details- 
DEFAULT_LIBRARYDeprecated.The default library which contains the SharedLibraryLoader component- See Also:
 
- 
DEFAULT_IMPLEMENTATIONDeprecated.The default implementation name- See Also:
 
 
- 
- 
Constructor Details- 
SharedLibraryLoaderpublic SharedLibraryLoader()Deprecated.
 
- 
- 
Method Details- 
getServiceFactorypublic static XSingleServiceFactory getServiceFactory(XMultiServiceFactory smgr, XRegistryKey regKey) Deprecated.Supplies the ServiceFactory of the default SharedLibraryLoader. The defaults are "shlibloader.uno" for the library and "com.sun.star.comp.stoc.DLLComponentLoader" for the component name. See also UNOIDLcom.sun.star.lang.ServiceManagerandcom.sun.star.registry.RegistryKey.- Parameters:
- smgr- the ServiceManager
- regKey- the root registry key
- Returns:
- the factory for the "com.sun.star.comp.stoc.DLLComponentLoader" component.
- See Also:
 
- 
getServiceFactorypublic 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. See also UNOIDLcom.sun.star.lang.ServiceManagerandcom.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:
 
- 
writeRegistryServiceInfoDeprecated.Registers the SharedLibraryLoader under a RegistryKey. See also UNOIDLcom.sun.star.lang.ServiceManagerandcom.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 successful - otherwise false
- See Also:
 
- 
writeRegistryServiceInfopublic static boolean writeRegistryServiceInfo(String libName, XMultiServiceFactory smgr, XRegistryKey regKey) throws InvalidRegistryException, RuntimeException Deprecated.Registers the SharedLibraryLoader under a RegistryKey. See also UNOIDLcom.sun.star.lang.ServiceManagerandcom.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 successful - otherwise false
- Throws:
- InvalidRegistryException- if the registry is not valid.
- RuntimeException
- See Also:
 
 
- 
SharedLibraryLoaderclass provides the functionality of thecom.sun.star.loader.SharedLibraryservice. See also UNOIDLcom.sun.star.lang.ServiceManager.