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, unregisterExtension
protected 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 DefaultComponent
public void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic org.artofsolving.jodconverter.OfficeDocumentConverter getDocumentConverter()
getDocumentConverter
in interface OOoManagerService
public void executeTask(org.artofsolving.jodconverter.office.OfficeTask task)
public void stopOOoManager()
stopOOoManager
in interface OOoManagerService
public void startOOoManager() throws IOException
startOOoManager
in interface OOoManagerService
IOException
public Throwable unwrapException(Throwable t)
public void applicationStarted(ComponentContext context)
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
public boolean isOOoManagerStarted()
isOOoManagerStarted
in interface OOoManagerService
public org.artofsolving.jodconverter.office.OfficeManager getOfficeManager()
Copyright © 2015 Nuxeo SA. All rights reserved.