Interface PortletApplicationContext

All Known Implementing Classes:
PortletApplicationContextImpl

public interface PortletApplicationContext
The context provided to a portlet application by its envronment. For now it manages the application external resources such as the servlet context and the application classloader. It manages also the life cycle of the application and its components.
Version:
$Revision: 6733 $
Author:
Julien Viet
  • Method Details

    • getServletContext

      jakarta.servlet.ServletContext getServletContext()
      Return the servlet context.
      Returns:
      the servlet context
    • getContextPath

      String getContextPath()
      Returns the context path of the web application
      Returns:
      the context path
    • getClassLoader

      ClassLoader getClassLoader()
      Return the classloader.
      Returns:
      the classloader
    • managedStart

      void managedStart()
      Attempt to start the portlet application.
    • managedStop

      void managedStop()
      Stop the portlet application.