public class OOoManagerComponent extends DefaultComponent implements OOoManagerService
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONFIG_EP |
protected OOoManagerDescriptor |
descriptor |
protected static org.apache.commons.logging.Log |
log |
protected boolean |
shutingdown |
protected boolean |
started |
protected boolean |
starting |
lastModified| Constructor and Description |
|---|
OOoManagerComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
void |
executeTask(org.artofsolving.jodconverter.office.OfficeTask task) |
OOoManagerDescriptor |
getDescriptor() |
org.artofsolving.jodconverter.OfficeDocumentConverter |
getDocumentConverter() |
org.artofsolving.jodconverter.office.OfficeManager |
getOfficeManager() |
boolean |
isOOoManagerStarted() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
startOOoManager() |
void |
stopOOoManager() |
Throwable |
unwrapException(Throwable t) |
activate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtensionprotected static final org.apache.commons.logging.Log log
protected static final String CONFIG_EP
protected OOoManagerDescriptor descriptor
protected boolean started
protected boolean starting
protected boolean shutingdown
public OOoManagerComponent()
public OOoManagerDescriptor getDescriptor()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void deactivate(ComponentContext context)
ComponentThis method is called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - the runtime contextpublic org.artofsolving.jodconverter.OfficeDocumentConverter getDocumentConverter()
getDocumentConverter in interface OOoManagerServicepublic void executeTask(org.artofsolving.jodconverter.office.OfficeTask task)
public void stopOOoManager()
stopOOoManager in interface OOoManagerServicepublic void startOOoManager() throws IOException
startOOoManager in interface OOoManagerServiceIOExceptionpublic Throwable unwrapException(Throwable t)
public void applicationStarted(ComponentContext context)
ComponentapplicationStarted in interface ComponentapplicationStarted in class DefaultComponentpublic boolean isOOoManagerStarted()
isOOoManagerStarted in interface OOoManagerServicepublic org.artofsolving.jodconverter.office.OfficeManager getOfficeManager()
Copyright © 2015 Nuxeo SA. All rights reserved.