public boolean isAuditorEnabled ( ) { if ( ! getConfig ( ) . isAuditorEnabled ( ) ) { return false ; } if ( getConfig ( ) . getDisabledAuditors ( ) . contains ( this . getClass ( ) ) ) { if ( LOGGER . isDebugEnabled ( ) ) { LOGGER . debug ( "Auditor " + this . getClass ( ) . getName ( ) + " is disabled by configuration" ) ; } return false ; } return true ; }
Determines whether this auditor instance is enabled . Checks if global auditing is enabled in configuration and if the auditor instance s class is in the list of auditors specifically disabled by configuration