T
- The type of object that this publisher will publish as a representive of the audit event.public interface Publisher<T>
Modifier and Type | Method and Description |
---|---|
void |
publish(T message)
implement this to deliver the audit event representation to the service.
|
void |
shutdown()
Cleanup services that were initialized with
startup() . |
void |
startup()
Initialize services that are reused by individual publish calls.
|
void startup() throws ResourceException
ResourceException
- If the publisher cannot be started.void shutdown() throws ResourceException
startup()
.ResourceException
- If the publisher cannot be shut down.void publish(T message) throws ResourceException
message
- representative object of the audit eventResourceException
- If the message cannot be published.Copyright © 2025 Open Identity Platform Community. All rights reserved.