Search in sources :

Example 16 with RequestContextImpl

use of com.iplanet.jato.RequestContextImpl in project OpenAM by OpenRock.

the class PWResetServlet method initializeRequestContext.

/**
     * Initializes request context
     *
     * @param requestContext  request context
     */
protected void initializeRequestContext(RequestContext requestContext) {
    super.initializeRequestContext(requestContext);
    // Set a view bean manager in the request context.  This must be
    // done at the module level because the view bean manager is
    ViewBeanManager viewBeanManager = new ViewBeanManager(requestContext, PACKAGE_NAME);
    ((RequestContextImpl) requestContext).setViewBeanManager(viewBeanManager);
}
Also used : RequestContextImpl(com.iplanet.jato.RequestContextImpl) ViewBeanManager(com.iplanet.jato.ViewBeanManager)

Example 17 with RequestContextImpl

use of com.iplanet.jato.RequestContextImpl in project OpenAM by OpenRock.

the class DelegationServlet method initializeRequestContext.

/**
     * Initialize request context and set the viewbean manager
     * @param requestContext current request context
     */
protected void initializeRequestContext(RequestContext requestContext) {
    super.initializeRequestContext(requestContext);
    ViewBeanManager viewBeanManager = new ViewBeanManager(requestContext, PACKAGE_NAME);
    ((RequestContextImpl) requestContext).setViewBeanManager(viewBeanManager);
}
Also used : RequestContextImpl(com.iplanet.jato.RequestContextImpl) ViewBeanManager(com.iplanet.jato.ViewBeanManager)

Example 18 with RequestContextImpl

use of com.iplanet.jato.RequestContextImpl in project OpenAM by OpenRock.

the class VersionServlet method initializeRequestContext.

@Override
protected void initializeRequestContext(RequestContext requestContext) {
    super.initializeRequestContext(requestContext);
    ViewBeanManager viewBeanManager = new ViewBeanManager(requestContext, getPackageName(VersionServlet.class.getName()));
    ((RequestContextImpl) requestContext).setViewBeanManager(viewBeanManager);
}
Also used : RequestContextImpl(com.iplanet.jato.RequestContextImpl) ViewBeanManager(com.iplanet.jato.ViewBeanManager)

Aggregations

RequestContextImpl (com.iplanet.jato.RequestContextImpl)18 ViewBeanManager (com.iplanet.jato.ViewBeanManager)18 SessionID (com.iplanet.dpro.session.SessionID)1 CompleteRequestException (com.iplanet.jato.CompleteRequestException)1 ISLocaleContext (com.sun.identity.common.ISLocaleContext)1 L10NMessageImpl (com.sun.identity.shared.locale.L10NMessageImpl)1 RequestDispatcher (javax.servlet.RequestDispatcher)1 ServletException (javax.servlet.ServletException)1 HttpServletRequest (javax.servlet.http.HttpServletRequest)1 HttpServletResponse (javax.servlet.http.HttpServletResponse)1