Class OpenOfficeService

  • All Implemented Interfaces:
    Initialization

    @Service
    @Singleton
    public class OpenOfficeService
    extends Object
    implements Initialization
    The OpenOffice service gives access to an open office process.
    Author:
    mmoquillon
    • Constructor Detail

      • OpenOfficeService

        public OpenOfficeService()
    • Method Detail

      • init

        public void init()
                  throws Exception
        Description copied from interface: Initialization
        Initializes some resources required by the services or performs some initialization processes at Silverpeas startup.
        Specified by:
        init in interface Initialization
        Throws:
        Exception - if an error occurs during the initialization process. In this case the Silverpeas startup fails.
      • release

        public void release()
                     throws Exception
        Description copied from interface: Initialization
        Releases the previously initialized resources at Silverpeas shutdown. The implementation of this method is optional. By default it does nothing.
        Specified by:
        release in interface Initialization
        Throws:
        Exception - if an error occurs during the shutdown process. In this case, a log will be outputed and the shutdown goes one.
      • getOfficeManager

        public org.jodconverter.core.office.OfficeManager getOfficeManager()
        Gets the OfficeManager instance to use to manages the different processes of the OpenOffice/LibreOffice program.
        Returns:
        the OfficeManager instance preconfigured according to the OpenOffice settings in Silverpeas.