Package org.gatein.pc.portlet.container
Interface PortletApplicationContext
-
- All Known Implementing Classes:
PortletApplicationContextImpl
public interface PortletApplicationContextThe 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassLoadergetClassLoader()Return the classloader.StringgetContextPath()Returns the context path of the web applicationjavax.servlet.ServletContextgetServletContext()Return the servlet context.voidmanagedStart()Attempt to start the portlet application.voidmanagedStop()Stop the portlet application.
-
-
-
Method Detail
-
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.
-
-