org.jboss.portal.web.impl.generic
Class GenericServletContainerContext

java.lang.Object
  extended by org.jboss.portal.web.impl.generic.GenericServletContainerContext
All Implemented Interfaces:
ServletContainerContext

public class GenericServletContainerContext
extends java.lang.Object
implements ServletContainerContext

Version:
$Revision: 1.1 $
Author:
Julien Viet

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.portal.web.spi.ServletContainerContext
ServletContainerContext.Registration
 
Constructor Summary
GenericServletContainerContext()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericServletContainerContext

public GenericServletContainerContext()
Method Detail

include

public 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
Description copied from interface: ServletContainerContext
Generic detyped request dispatch to a servlet context using the include mechanism.

Specified by:
include in interface ServletContainerContext
Parameters:
targetServletContext - the target servlet context to dispatch to
request - the request valid in the current servlet context
response - the response valid in the current servlet context
callback - the callback to perform after the dispatch operation
handback - the handback object to provide
Returns:
any object
Throws:
javax.servlet.ServletException
java.io.IOException

setCallback

public void setCallback(ServletContainerContext.Registration registration)
Description copied from interface: ServletContainerContext
Install the call back object.

Specified by:
setCallback in interface ServletContainerContext
Parameters:
registration - the call back

unsetCallback

public void unsetCallback(ServletContainerContext.Registration registration)
Description copied from interface: ServletContainerContext
Uninstall the call back object.

Specified by:
unsetCallback in interface ServletContainerContext
Parameters:
registration - the call back