|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.web.jboss.JBossWebContext
public class JBossWebContext
JBossWeb implementation of the spi. It implements the ServletContainerFactory
interface
but it get the returned instance from the DefaultServletContainerFactory instance.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.portal.web.spi.ServletContainerContext |
---|
ServletContainerContext.Registration |
Constructor Summary | |
---|---|
JBossWebContext()
|
Method Summary | |
---|---|
ServletContainer |
getServletContainer()
Returns the servlet container. |
java.lang.Object |
include(javax.servlet.ServletContext targetServletContext,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
RequestDispatchCallback callback,
java.lang.Object handback)
Generic detyped request dispatch to a servlet context using the include mechanism. |
void |
setCallback(ServletContainerContext.Registration registration)
Install the call back object. |
void |
unsetCallback(ServletContainerContext.Registration registration)
Uninstall the call back object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBossWebContext()
Method Detail |
---|
public java.lang.Object include(javax.servlet.ServletContext targetServletContext, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, RequestDispatchCallback callback, java.lang.Object handback) throws javax.servlet.ServletException, java.io.IOException
ServletContainerContext
include
in interface ServletContainerContext
targetServletContext
- the target servlet context to dispatch toreq
- the request valid in the current servlet contextresp
- the response valid in the current servlet contextcallback
- the callback to perform after the dispatch operationhandback
- the handback object to provide
javax.servlet.ServletException
java.io.IOException
public void setCallback(ServletContainerContext.Registration registration)
ServletContainerContext
setCallback
in interface ServletContainerContext
registration
- the call backpublic void unsetCallback(ServletContainerContext.Registration registration)
ServletContainerContext
unsetCallback
in interface ServletContainerContext
registration
- the call backpublic ServletContainer getServletContainer()
ServletContainerFactory
getServletContainer
in interface ServletContainerFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |