Uses of Class
org.forgerock.audit.AuditServiceBuilder
Package
Description
Package contains the AuditService.
This package contains utilities to build and configure audit service and handlers from JSON configuration.
-
Uses of AuditServiceBuilder in org.forgerock.audit
Modifier and TypeMethodDescriptionstatic AuditServiceBuilder
AuditServiceBuilder.newAuditService()
Factory method for new instances of this builder.AuditServiceBuilder.withAuditEventHandler
(Class<? extends AuditEventHandler> clazz, EventHandlerConfiguration configuration) Register an AuditEventHandler.AuditServiceBuilder.withAuditEventHandler
(AuditEventHandler auditEventHandler) Register an AuditEventHandler.AuditServiceBuilder.withAuditEventHandlerFactory
(AuditEventHandlerFactory auditEventHandlerFactory) Register factory for creating instances ofAuditEventHandler
.AuditServiceBuilder.withConfiguration
(AuditServiceConfiguration auditServiceConfiguration) Sets the AuditServiceConfiguration that is to be passed to the AuditService.AuditServiceBuilder.withDependencyProvider
(DependencyProvider dependencyProvider) Register the DependencyProvider, after which, an AuditEventHandler can be registered and receive this provider.AuditServiceBuilder.withEventTopicsMetaData
(EventTopicsMetaData eventTopicsMetaData) Set the topic metadata that should be used by the audit service and the handlers. -
Uses of AuditServiceBuilder in org.forgerock.audit.json
Modifier and TypeMethodDescriptionstatic void
AuditJsonConfig.registerHandlerToService
(JsonValue jsonConfig, AuditServiceBuilder auditServiceBuilder) Configures and registers the audit event handler corresponding to the provided JSON configuration to the provided audit service.static void
AuditJsonConfig.registerHandlerToService
(JsonValue jsonConfig, AuditServiceBuilder auditServiceBuilder, ClassLoader classLoader) Configures and registers the audit event handler corresponding to the provided JSON configuration to the provided audit service, using a specific class loader.