Uses of Class
org.forgerock.audit.AuditServiceBuilder
Packages that use 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
Methods in org.forgerock.audit that return AuditServiceBuilderModifier and TypeMethodDescriptionstatic AuditServiceBuilderAuditServiceBuilder.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
Methods in org.forgerock.audit.json with parameters of type AuditServiceBuilderModifier and TypeMethodDescriptionstatic voidAuditJsonConfig.registerHandlerToService(JsonValue jsonConfig, AuditServiceBuilder auditServiceBuilder) Configures and registers the audit event handler corresponding to the provided JSON configuration to the provided audit service.static voidAuditJsonConfig.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.