Interface PortletContainerObject

All Superinterfaces:
PortletContainer
All Known Implementing Classes:
PortletContainerImpl

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

    • setPortletApplication

      void setPortletApplication(PortletApplication application)
      Set/unset the application.
      Parameters:
      application - the related application
    • setContext

      void setContext(PortletContainerContext context)
      Set/unset the portlet container context.
      Parameters:
      context - the context
    • addPortletFilter

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

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

      void create() throws Exception
      Creates the portlet container.
      Throws:
      Exception - any exception preventing the creation
    • start

      void start() throws Exception
      Starts the portlet container.
      Throws:
      Exception - any exception preventing the start
    • stop

      void stop()
      Stops the portlet container.
    • destroy

      void destroy()
      Destroys the portlet container.
    • getPortletInstance

      javax.portlet.Portlet getPortletInstance()
      Returns the current instance held by the container.
      Returns:
      the instance