public static IHEAuditor getAuditor ( Class < ? extends IHEAuditor > clazz , AuditorModuleConfig config , boolean useGlobalContext ) { AuditorModuleContext context ; if ( ! useGlobalContext ) { context = ( AuditorModuleContext ) ContextInitializer . initialize ( config ) ; } else { context = AuditorModuleContext . getContext ( ) ; } return getAuditor ( clazz , config , context ) ; }
Get an auditor instance for the specified auditor class module configuration . Auditor will use a standalone context if a non - global context is requested .