Spring Security Framework

org.springframework.security.acl.basic.cache
Class BasicAclEntryHolder

java.lang.Object
  extended by org.springframework.security.acl.basic.cache.BasicAclEntryHolder
All Implemented Interfaces:
Serializable

Deprecated. Use new spring-security-acl module instead

public class BasicAclEntryHolder
extends Object
implements Serializable

Used by EhCacheBasedAclEntryCache to store the array of BasicAclEntrys in the cache.

This is necessary because caches store a single object per key, not an array.

This class uses value object semantics. ie: construction-based initialisation without any setters for the properties.

Version:
$Id$
Author:
Ben Alex
See Also:
Serialized Form

Constructor Summary
BasicAclEntryHolder(BasicAclEntry[] aclEntries)
          Deprecated. Constructs the BasicAclEntryHolder.
 
Method Summary
 BasicAclEntry[] getBasicAclEntries()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAclEntryHolder

public BasicAclEntryHolder(BasicAclEntry[] aclEntries)
Deprecated. 
Constructs the BasicAclEntryHolder.

Parameters:
aclEntries - to cache (any nulls will cause an exception, which should not be a problem as the contract for BasicAclEntryCache allows exceptions if nulls are presented)
Throws:
IllegalArgumentException - if a null exists anywhere in the aclEntries or if a null is passed to the constructor
Method Detail

getBasicAclEntries

public BasicAclEntry[] getBasicAclEntries()
Deprecated. 

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.