org.openoffice.da.comp.writer2latex
Class W2LRegistration
java.lang.Object
org.openoffice.da.comp.writer2latex.W2LRegistration
public class W2LRegistration
extends java.lang.Object
This class provides a static method to instantiate our uno components
on demand (__getServiceFactory()), and a static method to give
information about the components (__writeRegistryServiceInfo()).
Furthermore, it saves the XMultiServiceFactory provided to the
__getServiceFactory method for future reference by the componentes.
static XSingleServiceFactory | __getServiceFactory(String implName, XMultiServiceFactory multiFactory, XRegistryKey regKey) - Returns a factory for creating the service.
|
static boolean | __writeRegistryServiceInfo(XRegistryKey regKey) - Writes the service information into the given registry key.
|
xMultiServiceFactory
public static XMultiServiceFactory xMultiServiceFactory
__getServiceFactory
public static XSingleServiceFactory __getServiceFactory(String implName,
XMultiServiceFactory multiFactory,
XRegistryKey regKey)
Returns a factory for creating the service.
This method is called by the JavaLoader
implName
- the name of the implementation for which a
service is desiredmultiFactory
- the service manager to be used if neededregKey
- the registryKey
- returns a
XSingleServiceFactory
for creating the
component
com.sun.star.comp.loader.JavaLoader
__writeRegistryServiceInfo
public static boolean __writeRegistryServiceInfo(XRegistryKey regKey)
Writes the service information into the given registry key.
This method is called by the
JavaLoader
- returns true if the operation succeeded
com.sun.star.comp.loader.JavaLoader