Class AbstractOnlyofficeLifecycle

java.lang.Object
org.exoplatform.onlyoffice.webui.AbstractOnlyofficeLifecycle
All Implemented Interfaces:
org.exoplatform.web.application.ApplicationLifecycle<org.exoplatform.webui.application.WebuiRequestContext>
Direct Known Subclasses:
OnlyofficeEditorLifecycle

public abstract class AbstractOnlyofficeLifecycle extends Object implements org.exoplatform.web.application.ApplicationLifecycle<org.exoplatform.webui.application.WebuiRequestContext>
Base listener for Onlyoffice integration in Platforms apps.
Created by The eXo Platform SAS.
Version:
$Id: AbstractOnlyofficeLifecycle.java 00000 Mar 21, 2019 pnedonosko $
Author:
Peter Nedonosko
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new abstract Onlyoffice lifecycle.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javax.servlet.ServletRequest
    getServletRequest(org.exoplatform.webui.application.WebuiRequestContext context)
    Gets the servlet request associated with given context.
    void
    onDestroy(org.exoplatform.web.application.Application app)
    void
    onEndRequest(org.exoplatform.web.application.Application app, org.exoplatform.webui.application.WebuiRequestContext context)
    void
    onFailRequest(org.exoplatform.web.application.Application app, org.exoplatform.webui.application.WebuiRequestContext context, org.exoplatform.web.application.RequestFailure failureType)
    void
    onInit(org.exoplatform.web.application.Application app)
    void
    onStartRequest(org.exoplatform.web.application.Application app, org.exoplatform.webui.application.WebuiRequestContext context)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractOnlyofficeLifecycle

      public AbstractOnlyofficeLifecycle()
      Instantiates a new abstract Onlyoffice lifecycle.
  • Method Details

    • onInit

      public void onInit(org.exoplatform.web.application.Application app) throws Exception
      Specified by:
      onInit in interface org.exoplatform.web.application.ApplicationLifecycle<org.exoplatform.webui.application.WebuiRequestContext>
      Throws:
      Exception
    • onStartRequest

      public void onStartRequest(org.exoplatform.web.application.Application app, org.exoplatform.webui.application.WebuiRequestContext context) throws Exception
      Specified by:
      onStartRequest in interface org.exoplatform.web.application.ApplicationLifecycle<org.exoplatform.webui.application.WebuiRequestContext>
      Throws:
      Exception
    • onEndRequest

      public void onEndRequest(org.exoplatform.web.application.Application app, org.exoplatform.webui.application.WebuiRequestContext context) throws Exception
      Specified by:
      onEndRequest in interface org.exoplatform.web.application.ApplicationLifecycle<org.exoplatform.webui.application.WebuiRequestContext>
      Throws:
      Exception
    • onFailRequest

      public void onFailRequest(org.exoplatform.web.application.Application app, org.exoplatform.webui.application.WebuiRequestContext context, org.exoplatform.web.application.RequestFailure failureType)
      Specified by:
      onFailRequest in interface org.exoplatform.web.application.ApplicationLifecycle<org.exoplatform.webui.application.WebuiRequestContext>
    • onDestroy

      public void onDestroy(org.exoplatform.web.application.Application app) throws Exception
      Specified by:
      onDestroy in interface org.exoplatform.web.application.ApplicationLifecycle<org.exoplatform.webui.application.WebuiRequestContext>
      Throws:
      Exception
    • getServletRequest

      protected javax.servlet.ServletRequest getServletRequest(org.exoplatform.webui.application.WebuiRequestContext context)
      Gets the servlet request associated with given context.
      Parameters:
      context - the context
      Returns:
      the servlet request