org.jboss.portal.server.deployment
Class CustomPortalWebApp
java.lang.Object
org.jboss.portal.server.deployment.PortalWebApp
org.jboss.portal.server.deployment.CustomPortalWebApp
public class CustomPortalWebApp
- extends PortalWebApp
Constructor Summary |
CustomPortalWebApp(javax.servlet.ServletContext ctx,
java.lang.ClassLoader classLoader)
|
Method Summary |
java.lang.ClassLoader |
getClassLoader()
Return the classloader relative to the web app. |
java.lang.String |
getContextPath()
Returns the context path of the web application. |
javax.servlet.ServletContext |
getServletContext()
Returns the servlet context of the web application. |
void |
inject()
Inject the command servlet into that underlying web application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomPortalWebApp
public CustomPortalWebApp(javax.servlet.ServletContext ctx,
java.lang.ClassLoader classLoader)
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
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Description copied from class:
PortalWebApp
- Return the classloader relative to the web app.
- Overrides:
getClassLoader
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