|
Spring Security Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.acl.basic.cache.EhCacheBasedAclEntryCache
public class EhCacheBasedAclEntryCache
Caches BasicAclEntrys using a Spring IoC defined EHCACHE.
| Constructor Summary | |
|---|---|
EhCacheBasedAclEntryCache()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Deprecated. |
net.sf.ehcache.Ehcache |
getCache()
Deprecated. |
BasicAclEntry[] |
getEntriesFromCache(AclObjectIdentity aclObjectIdentity)
Deprecated. Obtains an array of BasicAclEntrys from the cache. |
void |
putEntriesInCache(BasicAclEntry[] basicAclEntry)
Deprecated. Places an array of BasicAclEntrys in the cache. |
void |
removeEntriesFromCache(AclObjectIdentity aclObjectIdentity)
Deprecated. Removes all ACL entries related to an AclObjectIdentity from the cache. |
void |
setCache(net.sf.ehcache.Ehcache cache)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EhCacheBasedAclEntryCache()
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic BasicAclEntry[] getEntriesFromCache(AclObjectIdentity aclObjectIdentity)
BasicAclEntryCacheBasicAclEntrys from the cache.
getEntriesFromCache in interface BasicAclEntryCacheaclObjectIdentity - which should be obtained from the cache
BasicAclEntrys (no nulls are permitted in the returned array)
or null if the object identity could not be found or if the cache entry has expiredpublic void putEntriesInCache(BasicAclEntry[] basicAclEntry)
BasicAclEntryCacheBasicAclEntrys in the cache.No nulls are allowed in the
passed array. If any null is passed, the implementation may throw an exception.
putEntriesInCache in interface BasicAclEntryCachebasicAclEntry - the ACL entries to cache (the key will be extracted from the BasicAclEntry.getAclObjectIdentity() methodpublic void removeEntriesFromCache(AclObjectIdentity aclObjectIdentity)
BasicAclEntryCacheAclObjectIdentity from the cache.
removeEntriesFromCache in interface BasicAclEntryCacheaclObjectIdentity - which should be removed from the cachepublic net.sf.ehcache.Ehcache getCache()
public void setCache(net.sf.ehcache.Ehcache cache)
|
Spring Security Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||