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.
|
OOoManagerDescriptor |
getDescriptor() |
org.artofsolving.jodconverter.OfficeDocumentConverter |
getDocumentConverter() |
boolean |
isOOoManagerStarted() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
startOOoManager() |
void |
stopOOoManager() |
Throwable |
unwrapException(Throwable t) |
activate, getAdapter, registerExtension, unregisterContribution, unregisterExtension
public OOoManagerDescriptor getDescriptor()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution
in class DefaultComponent
Exception
public void deactivate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextException
- if an error occurs during activationpublic org.artofsolving.jodconverter.OfficeDocumentConverter getDocumentConverter()
getDocumentConverter
in interface OOoManagerService
public void stopOOoManager()
stopOOoManager
in interface OOoManagerService
public void startOOoManager() throws IOException
startOOoManager
in interface OOoManagerService
IOException
public void applicationStarted(ComponentContext context) throws Exception
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
Exception
public boolean isOOoManagerStarted()
isOOoManagerStarted
in interface OOoManagerService
Copyright © 2011 Nuxeo SA. All Rights Reserved.