Deprecated
use class Bootstrap bootstrapping a native UNO installation
and use the shared library loader service.
The SharedLibraryLoader class provides the functionality of the com.sun.star.loader.SharedLibrary
service.
See also UNOIDL com.sun.star.lang.ServiceManager.
com.sun.star.loader.SharedLibrary
| Modifier and Type | Field and Description |
|---|---|
| public static final String | DEFAULT_IMPLEMENTATION
The default implementation name |
| public static final String | DEFAULT_LIBRARY
The default library which contains the SharedLibraryLoader component |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static native Object | component_getFactory(String libName, String implName, com.
|
| private static native boolean | component_writeInfo(String libName, com.
|
| public static com. | Returns: the factory for the "com.sun.star.comp.stoc.DLLComponentLoader" component.the ServiceManager smgr,the root registry key regKeySupplies the ServiceFactory of the default SharedLibraryLoader. |
| public static com. | Returns: the factory of the componentthe name of the shared library libName, String the implementation name of the component impName, com.the ServiceManager smgr,the root registry key regKeyLoads and returns a specific factory for a given library and implementation name. |
| public static boolean | Returns: true if the registration was successful - otherwise falsethe ServiceManager smgr,the root key under that the component should be registered regKeyRegisters the SharedLibraryLoader under a RegistryKey. |
| public static boolean | Returns: true if the registration was successful - otherwise falsename of the shared library libName, com.the ServiceManager smgr,the root key under that the component should be registered regKeyRegisters the SharedLibraryLoader under a RegistryKey. |
| DEFAULT_IMPLEMENTATION | back to summary |
|---|---|
| public static final String DEFAULT_IMPLEMENTATION The default implementation name | |
| DEFAULT_LIBRARY | back to summary |
|---|---|
| public static final String DEFAULT_LIBRARY The default library which contains the SharedLibraryLoader component | |
| SharedLibraryLoader | back to summary |
|---|---|
| public SharedLibraryLoader() | |
| component_getFactory | back to summary |
|---|---|
| private static native Object component_getFactory(String libName, String implName, com. | |
| component_writeInfo | back to summary |
|---|---|
| private static native boolean component_writeInfo(String libName, com. | |
| getServiceFactory | back to summary |
|---|---|
| public static com. 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 UNOIDL
| |
| getServiceFactory | back to summary |
|---|---|
| public static com. Loads and returns a specific factory for a given library and implementation name.
See also UNOIDL
| |
| writeRegistryServiceInfo | back to summary |
|---|---|
| public static boolean writeRegistryServiceInfo(com. Registers the SharedLibraryLoader under a RegistryKey.
See also UNOIDL
| |
| writeRegistryServiceInfo | back to summary |
|---|---|
| public static boolean writeRegistryServiceInfo(String libName, com. Registers the SharedLibraryLoader under a RegistryKey.
See also UNOIDL
| |