org.nuxeo.ecm.platform.convert.ooomanager
Class OOoManagerComponent
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.convert.ooomanager.OOoManagerComponent
- All Implemented Interfaces:
- OOoManagerService, Adaptable, Component, Extensible
public class OOoManagerComponent
- extends DefaultComponent
- implements OOoManagerService
OOoManagerComponent
public OOoManagerComponent()
getDescriptor
public OOoManagerDescriptor getDescriptor()
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
throws Exception
- Overrides:
registerContribution
in class DefaultComponent
- Throws:
Exception
deactivate
public void deactivate(ComponentContext context)
throws Exception
- Description copied from interface:
Component
- Deactivates the component.
This method is called by the runtime when a component is deactivated.
- Specified by:
deactivate
in interface Component
- Overrides:
deactivate
in class DefaultComponent
- Parameters:
context
- the runtime context
- Throws:
Exception
- if an error occurs during activation
getDocumentConverter
public org.artofsolving.jodconverter.OfficeDocumentConverter getDocumentConverter()
- Specified by:
getDocumentConverter
in interface OOoManagerService
stopOOoManager
public void stopOOoManager()
- Specified by:
stopOOoManager
in interface OOoManagerService
startOOoManager
public void startOOoManager()
throws IOException
- Specified by:
startOOoManager
in interface OOoManagerService
- Throws:
IOException
unwrapException
public Throwable unwrapException(Throwable t)
applicationStarted
public void applicationStarted(ComponentContext context)
throws Exception
- Description copied from interface:
Component
- Notify the component that Nuxeo Framework finished starting all Nuxeo
bundles.
- Specified by:
applicationStarted
in interface Component
- Overrides:
applicationStarted
in class DefaultComponent
- Throws:
Exception
isOOoManagerStarted
public boolean isOOoManagerStarted()
- Specified by:
isOOoManagerStarted
in interface OOoManagerService
Copyright © 2011 Nuxeo SAS. All Rights Reserved.