public abstract class AuditEventHandlerBase extends Object implements AuditEventHandler
| Modifier and Type | Field and Description |
|---|---|
protected EventTopicsMetaData |
eventTopicsMetaData
The event topic meta data for the handler.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AuditEventHandlerBase(String name,
EventTopicsMetaData eventTopicsMetaData,
Set<String> acceptedTopics,
boolean enabled)
Create a new AuditEventHandler instance.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getHandledTopics()
Gets the names of all audit event topics this handler is registered against.
|
String |
getName()
Gets the name of this audit event handler.
|
Promise<ActionResponse,ResourceException> |
handleAction(Context context,
String topic,
ActionRequest request)
Performs an action.
|
boolean |
isEnabled()
Checks if the audit event handler is enabled.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublishEvent, queryEvents, readEvent, shutdown, startupprotected final EventTopicsMetaData eventTopicsMetaData
protected AuditEventHandlerBase(String name, EventTopicsMetaData eventTopicsMetaData, Set<String> acceptedTopics, boolean enabled)
name - The name of this AuditEventHandler.eventTopicsMetaData - Provides meta-data describing the audit event topics this AuditEventHandler may have to handle.acceptedTopics - Audit event topics the AuditEventHandler will handle.enabled - Whether or not the audit event handler is enabled.public String getName()
AuditEventHandlergetName in interface AuditEventHandlerpublic Set<String> getHandledTopics()
AuditEventHandlergetHandledTopics in interface AuditEventHandlerpublic boolean isEnabled()
AuditEventHandlerisEnabled in interface AuditEventHandlerpublic Promise<ActionResponse,ResourceException> handleAction(Context context, String topic, ActionRequest request)
AuditEventHandlerhandleAction in interface AuditEventHandlercontext - The context chain that initiated the event.topic - The topic on which action is performed.request - The request with the action.Copyright © 2025 Open Identity Platform Community. All rights reserved.