org.jboss.portal.server.deployment
Class PortalWebTomcat4App

java.lang.Object
  extended by org.jboss.portal.server.deployment.PortalWebApp
      extended by org.jboss.portal.server.deployment.PortalWebTomcat4App

public class PortalWebTomcat4App
extends PortalWebApp


Field Summary
 
Fields inherited from class org.jboss.portal.server.deployment.PortalWebApp
log, url, webApp
 
Constructor Summary
PortalWebTomcat4App(org.jboss.web.WebApplication webApp)
           
 
Method Summary
 java.lang.String getContextPath()
          Returns the context path of the web application.
static java.lang.String getContextPath(java.lang.Object standardContext)
           
 javax.servlet.ServletContext getServletContext()
          Returns the servlet context of the web application.
static javax.servlet.ServletContext getServletContext(java.lang.Object standardContext)
           
 void inject()
          Inject the command servlet into that underlying web application.
static void inject(java.lang.Object standardContext)
           
 
Methods inherited from class org.jboss.portal.server.deployment.PortalWebApp
getClassLoader, getURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalWebTomcat4App

public PortalWebTomcat4App(org.jboss.web.WebApplication webApp)
                    throws CannotCreatePortletWebAppException
Throws:
CannotCreatePortletWebAppException
Method Detail

inject

public void inject()
            throws java.lang.Exception
Description copied from class: PortalWebApp
Inject the command servlet into that underlying web application.

Specified by:
inject in class PortalWebApp
Throws:
java.lang.Exception

getContextPath

public java.lang.String getContextPath()
Description copied from class: PortalWebApp
Returns the context path of the web application.

Specified by:
getContextPath in class PortalWebApp

getServletContext

public javax.servlet.ServletContext getServletContext()
Description copied from class: PortalWebApp
Returns the servlet context of the web application.

Specified by:
getServletContext in class PortalWebApp

inject

public static void inject(java.lang.Object standardContext)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getServletContext

public static javax.servlet.ServletContext getServletContext(java.lang.Object standardContext)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getContextPath

public static java.lang.String getContextPath(java.lang.Object standardContext)
                                       throws java.lang.Exception
Throws:
java.lang.Exception