public class OOoManagerComponent extends DefaultComponent implements OOoManagerService
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, unregisterContribution, unregisterExtension
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 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.