org.jboss.portal.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
 java.lang.ClassLoader getClassLoader()
          Return the classloader.
 java.lang.String getContextPath()
          Returns the context path of the web application
 javax.servlet.ServletContext getServletContext()
          Return the servlet context.
 void managedStart()
          Attempt to start the portlet application.
 void managedStop()
          Stop the portlet application.
 

Method Detail

getServletContext

javax.servlet.ServletContext getServletContext()
Return the servlet context.

Returns:
the servlet context

getContextPath

java.lang.String getContextPath()
Returns the context path of the web application

Returns:
the context path

getClassLoader

java.lang.ClassLoader getClassLoader()
Return the classloader.

Returns:
the classloader

managedStart

void managedStart()
Attempt to start the portlet application.


managedStop

void managedStop()
Stop the portlet application.



Copyright © 2008. All Rights Reserved.