Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.acegisecurity.acl.basic.cache
Class BasicAclEntryHolder

    java.lang.Object
      org.acegisecurity.acl.basic.cache.BasicAclEntryHolder

All Implemented Interfaces:
  Serializable

    public class BasicAclEntryHolder

extends Object
implements Serializable

Used by `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.

Version:
  $Id: BasicAclEntryHolder.java,v 1.3 2005/11/17 00:56:47 benalex Exp $
Author:
  Ben Alex
See Also:
  Serialized Form

Constructor Summary
`BasicAclEntryHolder(BasicAclEntry[] aclEntries)` Constructs the `BasicAclEntryHolder`.

Method Summary
`BasicAclEntry[]` | `getBasicAclEntries()`

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)

  Constructs the `BasicAclEntryHolder`.

  Parameters:
    `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)
  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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.