Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.convert.ooomanager
Class OOoManagerComponent

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.platform.convert.ooomanager.OOoManagerComponent
All Implemented Interfaces:
OOoManagerService, Adaptable, Component, Extensible

public class OOoManagerComponent
extends DefaultComponent
implements OOoManagerService


Constructor Summary
OOoManagerComponent()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, getAdapter, registerExtension, unregisterContribution, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OOoManagerComponent

public OOoManagerComponent()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.