org.acegisecurity.acl.basic.cache
Class NullAclEntryCache

java.lang.Object
  extended by org.acegisecurity.acl.basic.cache.NullAclEntryCache
All Implemented Interfaces:
BasicAclEntryCache

public class NullAclEntryCache
extends Object
implements BasicAclEntryCache

Does not perform any caching.

Do not use in production settings, as ACL queries are likely to be extensive.

Version:
$Id: NullAclEntryCache.java 1496 2006-05-23 13:38:33Z benalex $
Author:
Ben Alex

Constructor Summary
NullAclEntryCache()
           
 
Method Summary
 BasicAclEntry[] getEntriesFromCache(AclObjectIdentity aclObjectIdentity)
          As nothing ever stored in the cache, will always return null.
 void putEntriesInCache(BasicAclEntry[] basicAclEntry)
          Meets method signature but doesn't store in any cache.
 void removeEntriesFromCache(AclObjectIdentity aclObjectIdentity)
          Meets method signature but doesn't remove from cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullAclEntryCache

public NullAclEntryCache()
Method Detail

getEntriesFromCache

public BasicAclEntry[] getEntriesFromCache(AclObjectIdentity aclObjectIdentity)
As nothing ever stored in the cache, will always return null.

Specified by:
getEntriesFromCache in interface BasicAclEntryCache
Parameters:
aclObjectIdentity - ignored
Returns:
always null

putEntriesInCache

public void putEntriesInCache(BasicAclEntry[] basicAclEntry)
Meets method signature but doesn't store in any cache.

Specified by:
putEntriesInCache in interface BasicAclEntryCache
Parameters:
basicAclEntry - ignored

removeEntriesFromCache

public void removeEntriesFromCache(AclObjectIdentity aclObjectIdentity)
Meets method signature but doesn't remove from cache.

Specified by:
removeEntriesFromCache in interface BasicAclEntryCache
Parameters:
aclObjectIdentity - ignored


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