public class BasicAclEntryHolder
extends java.lang.Object
implements java.io.Serializable
EhCacheBasedAclEntryCache
to store the array of BasicAclEntry
s 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 null
s will cause an
exception, which should not be a problem as the contract for
BasicAclEntryCache
allows exceptions if
null
s are presented)java.lang.IllegalArgumentException
- if a null
exists anywhere
in the aclEntries
or if a null
is
passed to the constructorpublic BasicAclEntry[] getBasicAclEntries()