Package org.gatein.pc.portlet.container
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 Summary
Modifier and TypeMethodDescriptionReturn the classloader.Returns the context path of the web applicationjavax.servlet.ServletContextReturn the servlet context.voidAttempt to start the portlet application.voidStop the portlet application.
-
Method Details
-
getServletContext
javax.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.
-