java.lang.Object
org.acegisecurity.acl.basic.cache.EhCacheBasedAclEntryCache
- All Implemented Interfaces:
- org.acegisecurity.acl.basic.BasicAclEntryCache, org.springframework.beans.factory.InitializingBean
- public class EhCacheBasedAclEntryCache
- extends java.lang.Object
- implements org.acegisecurity.acl.basic.BasicAclEntryCache, org.springframework.beans.factory.InitializingBean
Caches BasicAclEntrys using a Spring IoC defined EHCACHE.
- Version:
- $Id: EhCacheBasedAclEntryCache.java,v 1.5 2005/11/17 00:56:47 benalex Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.commons.logging.Log logger
cache
private Cache cache
EhCacheBasedAclEntryCache
public EhCacheBasedAclEntryCache()
setCache
public void setCache(Cache cache)
getCache
public Cache getCache()
getEntriesFromCache
public org.acegisecurity.acl.basic.BasicAclEntry[] getEntriesFromCache(org.acegisecurity.acl.basic.AclObjectIdentity aclObjectIdentity)
- Description copied from interface:
org.acegisecurity.acl.basic.BasicAclEntryCache
- Obtains an array of org.acegisecurity.acl.basic.BasicAclEntrys from the cache.
- Specified by:
getEntriesFromCache in interface org.acegisecurity.acl.basic.BasicAclEntryCache
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Description copied from interface:
org.springframework.beans.factory.InitializingBean
- Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only
possible when all bean properties have been set and to throw an
exception in the event of misconfiguration.
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
putEntriesInCache
public void putEntriesInCache(org.acegisecurity.acl.basic.BasicAclEntry[] basicAclEntry)
- Description copied from interface:
org.acegisecurity.acl.basic.BasicAclEntryCache
- Places an array of org.acegisecurity.acl.basic.BasicAclEntrys in the cache.
No nulls are allowed in the passed array. If any
null is passed, the implementation may throw an exception.
- Specified by:
putEntriesInCache in interface org.acegisecurity.acl.basic.BasicAclEntryCache