org.acegisecurity.acls.jdbc
Class EhCacheBasedAclCache

java.lang.Object
  extended by org.acegisecurity.acls.jdbc.EhCacheBasedAclCache
All Implemented Interfaces:
AclCache

public class EhCacheBasedAclCache
extends Object
implements AclCache

Simple implementation of AclCache that delegates to EH-CACHE.

Version:
$Id: EhCacheBasedAclCache.java 1965 2007-08-27 23:41:59Z luke_t $
Author:
Ben Alex

Constructor Summary
EhCacheBasedAclCache(net.sf.ehcache.Ehcache cache)
           
 
Method Summary
 void evictFromCache(ObjectIdentity objectIdentity)
           
 void evictFromCache(Serializable pk)
           
 MutableAcl getFromCache(ObjectIdentity objectIdentity)
           
 MutableAcl getFromCache(Serializable pk)
           
 void putInCache(MutableAcl acl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhCacheBasedAclCache

public EhCacheBasedAclCache(net.sf.ehcache.Ehcache cache)
Method Detail

evictFromCache

public void evictFromCache(Serializable pk)
Specified by:
evictFromCache in interface AclCache

evictFromCache

public void evictFromCache(ObjectIdentity objectIdentity)
Specified by:
evictFromCache in interface AclCache

getFromCache

public MutableAcl getFromCache(ObjectIdentity objectIdentity)
Specified by:
getFromCache in interface AclCache

getFromCache

public MutableAcl getFromCache(Serializable pk)
Specified by:
getFromCache in interface AclCache

putInCache

public void putInCache(MutableAcl acl)
Specified by:
putInCache in interface AclCache


Copyright © 2004-2009 Interface21, Inc. All Rights Reserved.