public class BasicAclEntryHolder
extends java.lang.Object
implements java.io.Serializable
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.
| Constructor and Description |
|---|
BasicAclEntryHolder(BasicAclEntry[] aclEntries)
Deprecated.
Constructs the
BasicAclEntryHolder. |
| Modifier and Type | Method and Description |
|---|---|
BasicAclEntry[] |
getBasicAclEntries()
Deprecated.
|
public BasicAclEntryHolder(BasicAclEntry[] aclEntries)
BasicAclEntryHolder.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)java.lang.IllegalArgumentException - if a null exists anywhere
in the aclEntries or if a null is
passed to the constructorpublic BasicAclEntry[] getBasicAclEntries()