Clean up after component passivation.
This commit is contained in:
@@ -39,11 +39,6 @@ import org.pentaho.reporting.libraries.formula.function.FunctionCategory;
|
|||||||
import org.pentaho.reporting.libraries.formula.function.FunctionDescription;
|
import org.pentaho.reporting.libraries.formula.function.FunctionDescription;
|
||||||
import org.pentaho.reporting.libraries.formula.function.FunctionRegistry;
|
import org.pentaho.reporting.libraries.formula.function.FunctionRegistry;
|
||||||
|
|
||||||
/**
|
|
||||||
* This class capsulates the class, that implements the minimal component, a factory for creating the service
|
|
||||||
* (<CODE>__getComponentFactory</CODE>) and a method, that writes the information into the given registry key
|
|
||||||
* (<CODE>__writeRegistryServiceInfo</CODE>).
|
|
||||||
*/
|
|
||||||
public final class SOFunctionManager extends ComponentBase implements XFunctionManager, XServiceInfo
|
public final class SOFunctionManager extends ComponentBase implements XFunctionManager, XServiceInfo
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@@ -426,23 +426,4 @@ public class SOReportJobFactory
|
|||||||
|
|
||||||
return xFactory;
|
return xFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Writes the service information into the given registry key. This method is called by the <code>JavaLoader</code>
|
|
||||||
* <p/>
|
|
||||||
*
|
|
||||||
* @param regKey the registryKey
|
|
||||||
* @return returns true if the operation succeeded
|
|
||||||
* @see com.sun.star.comp.loader.JavaLoader
|
|
||||||
*/
|
|
||||||
public static boolean __writeRegistryServiceInfo(final XRegistryKey regKey)
|
|
||||||
{
|
|
||||||
return Factory.writeRegistryServiceInfo(SOFunctionManager.class.getName(),
|
|
||||||
SOFunctionManager.getServiceNames(),
|
|
||||||
regKey) && Factory.writeRegistryServiceInfo(_SOReportJobFactory.class.getName(),
|
|
||||||
_SOReportJobFactory.getServiceNames(),
|
|
||||||
regKey) && Factory.writeRegistryServiceInfo(SOFormulaParser.class.getName(),
|
|
||||||
SOFormulaParser.getServiceNames(),
|
|
||||||
regKey);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user