public class EhCacheBasedAclCache extends java.lang.Object implements AclCache
AclCache that delegates to EH-CACHE.
Designed to handle the transient fields in AclImpl. Note that this implementation assumes all
AclImpl instances share the same AuditLogger and AclAuthorizationStrategy instance.
| Constructor and Description |
|---|
EhCacheBasedAclCache(net.sf.ehcache.Ehcache cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
evictFromCache(ObjectIdentity objectIdentity) |
void |
evictFromCache(java.io.Serializable pk) |
MutableAcl |
getFromCache(ObjectIdentity objectIdentity) |
MutableAcl |
getFromCache(java.io.Serializable pk) |
void |
putInCache(MutableAcl acl) |
public void evictFromCache(java.io.Serializable pk)
evictFromCache in interface AclCachepublic void evictFromCache(ObjectIdentity objectIdentity)
evictFromCache in interface AclCachepublic MutableAcl getFromCache(ObjectIdentity objectIdentity)
getFromCache in interface AclCachepublic MutableAcl getFromCache(java.io.Serializable pk)
getFromCache in interface AclCachepublic void putInCache(MutableAcl acl)
putInCache in interface AclCache