org.erights.e.elib.slot
Class AuditChecker

java.lang.Object
  |
  +--org.erights.e.elib.slot.AuditChecker

public class AuditChecker
extends Object

Untamed: This implements the object available as "__auditedBy" in the universal scope, which represents the lookup facet on the registry of successful audits.

    __auditedBy(auditor, specimen)
returns a boolean indicating whether a given specimen was instantiated with approval from a given auditor. Even if the answer is no, that auditor-as-guard may still successfully coerce it to something, so __auditedBy is really only for use within auditors-as-guards. Others should just use the guard behaviors of these auditors.

Author:
Ka-Ping Yee, with some changes by Mark Miller

Field Summary
static AuditChecker THE_ONE
          Enabled:
 
Constructor Summary
private AuditChecker()
           
 
Method Summary
 boolean run(Auditor auditor, Object specimen)
          Enabled:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THE_ONE

public static final AuditChecker THE_ONE
Enabled:

Constructor Detail

AuditChecker

private AuditChecker()
Method Detail

run

public boolean run(Auditor auditor,
                   Object specimen)
Enabled:



comments?