public class BasicAclEntryHolder extends Object implements 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)
Constructs the
BasicAclEntryHolder. |
| Modifier and Type | Method and Description |
|---|---|
BasicAclEntry[] |
getBasicAclEntries() |
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)IllegalArgumentException - if a null exists anywhere
in the aclEntries or if a null is
passed to the constructorpublic BasicAclEntry[] getBasicAclEntries()
Copyright © 2021. All rights reserved.