Package org.apache.jetspeed.util

Examples of org.apache.jetspeed.util.ServletRequestThreadLocalCleanupCallback


        if(requestContext == null)
        {
            throw new IllegalStateException("JetspeedVelocityViewServlet unable to handle request because there is no RequestContext in "+
                   "the HttpServletRequest.");
        }
        new ServletRequestThreadLocalCleanupCallback(handlingRequestContext);
       
        // hook up eventHandlers to the context, specifically our own IgnoringNullSetEventHandling
        eventCartridge.attachToContext(ctx);
       
        JetspeedDesktopContext desktopContext = (JetspeedDesktopContext)request.getAttribute(JetspeedDesktopContext.DESKTOP_CONTEXT_ATTRIBUTE);
View Full Code Here


       
        if (resourcesMap == null)
        {
            resourcesMap = new HashMap<String, Object>();
            actionResourcesMap.set(resourcesMap);
            new ServletRequestThreadLocalCleanupCallback(actionResourcesMap);
            resourcesMap.put(DecoratorAction.RESOURCE_BUNDLE, bundle);
            localizedName = DecoratorAction.getResourceString(bundle, actionName, actionName);
            resourcesMap.put(actionName,localizedName);
        }
        else
View Full Code Here

   
    private static void setSubject(Subject subject)
    {
        if (threadLocal.get() == null && subject != null)
        {
            new ServletRequestThreadLocalCleanupCallback(threadLocal);
        }
        threadLocal.set(subject);
    }
View Full Code Here

        HashMap<Long,Permissions> map = permissionsCache.get();
        if (map == null)
        {
            map = new HashMap<Long,Permissions>();
            permissionsCache.set(map);
            new ServletRequestThreadLocalCleanupCallback(permissionsCache);           
        }
        return map;
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.util.ServletRequestThreadLocalCleanupCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.