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.ClassLoader getClassLoader()
          Return the classloader of the web app.
 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)
           
static void inject(java.lang.Object standardContext)
           
 void instrument()
          Instrument the web application.
 
Methods inherited from class org.jboss.portal.server.deployment.PortalWebApp
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

instrument

public void instrument()
                throws java.lang.Exception
Description copied from class: PortalWebApp
Instrument the web application.

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

getClassLoader

public java.lang.ClassLoader getClassLoader()
Description copied from class: PortalWebApp
Return the classloader of the web app.

Specified by:
getClassLoader in class PortalWebApp

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