Interface PortletApplicationObject

All Superinterfaces:
PortletApplication
All Known Implementing Classes:
PortletApplicationImpl

public interface PortletApplicationObject extends PortletApplication
Contains life cycle and wiring details for the kernel environment.
  • Method Details

    • setContext

      void setContext(PortletApplicationContext context)
      Set the context required by that application.
      Parameters:
      context - the context
    • getContext

      Returns the context related to this application.
      Specified by:
      getContext in interface PortletApplication
      Returns:
      the context
    • addPortletContainer

      void addPortletContainer(PortletContainer container)
      Add a container.
      Parameters:
      container - the container
    • removePortletContainer

      void removePortletContainer(PortletContainer container)
      Remove a container.
      Parameters:
      container - the container
    • addPortletFilter

      void addPortletFilter(PortletFilter filter)
      Add a filter.
      Parameters:
      filter - the filter
    • removePortletFilter

      void removePortletFilter(PortletFilter filter)
      Remove a filter.
      Parameters:
      filter - the filter
    • start

      void start() throws Exception
      Starts the application only. It does not take care of starting its components.
      Throws:
      Exception - any exception preventing the start
    • stop

      void stop()
      Stops the application only. It does not take care of stopping its components.