|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServletContainerContext
Defines the service provider interface for a servlet container. It is an attempt to abstract the non portable services required by a portal with respect to the web container layer.
Nested Class Summary | |
---|---|
static interface |
ServletContainerContext.Registration
The callback interface that a servlet container context can obtain from its registration against the org.jboss.portal.web.ServletContainer singleton. |
Method Summary | |
---|---|
java.lang.Object |
include(javax.servlet.ServletContext targetServletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
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. |
Method Detail |
---|
java.lang.Object include(javax.servlet.ServletContext targetServletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, RequestDispatchCallback callback, java.lang.Object handback) throws javax.servlet.ServletException, java.io.IOException
targetServletContext
- the target servlet context to dispatch torequest
- the request valid in the current servlet contextresponse
- the response valid in the current servlet contextcallback
- the callback to perform after the dispatch operationhandback
- the handback object to provide
java.lang.Exception
- any exception
javax.servlet.ServletException
java.io.IOException
void setCallback(ServletContainerContext.Registration registration)
registration
- the call backvoid unsetCallback(ServletContainerContext.Registration registration)
registration
- the call back
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |