fabric.lang.security
Class SecurityCache

java.lang.Object
  extended by fabric.worker.transaction.AbstractSecurityCache
      extended by fabric.lang.security.SecurityCache

public final class SecurityCache
extends AbstractSecurityCache

A cache of acts-for relationships and relabelling judgements. This is kept in the fabric.lang.security package to ensure that only security-related classes can modify this cache.


Constructor Summary
SecurityCache(SecurityCache parent)
           
 
Method Summary
protected  void reset()
          Resets the state of this cache back to how it was when it was created.
protected  void set(SecurityCache cache)
          Sets the state of this cache to match that of the given cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityCache

public SecurityCache(SecurityCache parent)
Method Detail

reset

protected void reset()
Description copied from class: AbstractSecurityCache
Resets the state of this cache back to how it was when it was created.

Specified by:
reset in class AbstractSecurityCache

set

protected void set(SecurityCache cache)
Description copied from class: AbstractSecurityCache
Sets the state of this cache to match that of the given cache. Assumes that the given cache will no longer be used.

Specified by:
set in class AbstractSecurityCache