Interface Publisher<T>

Type Parameters:
T - The type of object that this publisher will publish as a representive of the audit event.
All Known Implementing Classes:
BatchPublisher

public interface Publisher<T>
Defines a generic interface for audit event publishers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    publish(T message)
    implement this to deliver the audit event representation to the service.
    void
    Cleanup services that were initialized with startup().
    void
    Initialize services that are reused by individual publish calls.