Extension SDK 9.0.5

oracle.jdeveloper.audit.service
Interface AuditListener

All Superinterfaces:
java.util.EventListener

public interface AuditListener
extends java.util.EventListener

A listener for Auditor events. AuditListener methods are invoked on the audit thread.


Method Summary
 void auditStarted(Auditor auditor)
          Reports an Auditor audit started event.
 void auditStopped(Auditor auditor, boolean cancelled)
          Reports an Auditor audit stopped event.
 void documentStarted(Auditor auditor, DocumentAdapter adapter)
          Reports an Auditor document started event.
 void documentStopped(Auditor auditor, DocumentAdapter document)
          Reports an Auditor document stopped event.
 void locationEntered(Auditor auditor, java.lang.Object construct, Location location, java.lang.Class type)
          Reports an Auditor location entered event.
 void locationExited(Auditor auditor, Location location)
          Reports an Auditor location exited event.
 void valueReported(Auditor auditor, Location location, Attribute attribute, java.lang.Object newValue)
          Reports an Auditor value reported event.
 void violationReported(Auditor auditor, Violation violation, boolean useRuleFixes)
          Reports an Auditor violation reported event.
 

Method Detail

auditStarted

public void auditStarted(Auditor auditor)
Reports an Auditor audit started event.


documentStarted

public void documentStarted(Auditor auditor,
                            DocumentAdapter adapter)
Reports an Auditor document started event.


documentStopped

public void documentStopped(Auditor auditor,
                            DocumentAdapter document)
Reports an Auditor document stopped event.


auditStopped

public void auditStopped(Auditor auditor,
                         boolean cancelled)
Reports an Auditor audit stopped event.


locationEntered

public void locationEntered(Auditor auditor,
                            java.lang.Object construct,
                            Location location,
                            java.lang.Class type)
Reports an Auditor location entered event.


locationExited

public void locationExited(Auditor auditor,
                           Location location)
Reports an Auditor location exited event.


violationReported

public void violationReported(Auditor auditor,
                              Violation violation,
                              boolean useRuleFixes)
Reports an Auditor violation reported event.


valueReported

public void valueReported(Auditor auditor,
                          Location location,
                          Attribute attribute,
                          java.lang.Object newValue)
Reports an Auditor value reported event.


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.