org.springframework.extensions.surf.site
Class CacheUtil

java.lang.Object
  extended by org.springframework.extensions.surf.site.CacheUtil

public class CacheUtil
extends Object

Utility class that allows for easy invalidation of the cache. This is used primarly by the CacheServlet which receives calls from the outside world to "refresh" the cache. It is also invoked from within the scripting layer to force cache refreshes when objects have been changed through scripting.

Author:
muzquiano

Constructor Summary
CacheUtil()
           
 
Method Summary
static void invalidateModelObjectServiceCache(RequestContext context)
          Invalidate model object service object cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheUtil

public CacheUtil()
Method Detail

invalidateModelObjectServiceCache

public static void invalidateModelObjectServiceCache(RequestContext context)
Invalidate model object service object cache.

Parameters:
context - the context


Copyright © 2009 SpringSource, Inc. All Rights Reserved.