fabric.worker.transaction
Class AbstractSecurityCache

java.lang.Object
  extended by fabric.worker.transaction.AbstractSecurityCache
Direct Known Subclasses:
SecurityCache

public abstract class AbstractSecurityCache
extends java.lang.Object

A cache of acts-for relationships. This provides only the hooks needed for the transaction manager to do its thing. All other functionality is provided in fabric.lang.security.AuthorizationCache. Note that the methods implemented here should all be final and package-protected. Any abstract methods should be protected.


Constructor Summary
AbstractSecurityCache()
           
 
Method Summary
protected abstract  void reset()
          Resets the state of this cache back to how it was when it was created.
protected abstract  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

AbstractSecurityCache

public AbstractSecurityCache()
Method Detail

reset

protected abstract void reset()
Resets the state of this cache back to how it was when it was created.


set

protected abstract void set(SecurityCache cache)
Sets the state of this cache to match that of the given cache. Assumes that the given cache will no longer be used.