Interface AuditBackendFactory<B extends AuditBackend>

All Superinterfaces:
Component, Extensible, TimestampedService
All Known Implementing Classes:
MemAuditBackendFactory, MongoDBAuditBackendFactory, OpenSearchAuditBackendFactory, SQLAuditBackendFactory

public interface AuditBackendFactory<B extends AuditBackend> extends Component
Factory allowing to retrieve an AuditBackend.
Since:
2025.0
  • Method Details

    • getApplicationStartedOrder

      default int getApplicationStartedOrder()
      Description copied from interface: Component
      The component notification order for Component.start(ComponentContext).

      Components are notified in increasing order. Order 1000 is the default order for components that don't care. Order 100 is the repository initialization.

      Specified by:
      getApplicationStartedOrder in interface Component
      Returns:
      the order, 1000 by default
    • getAuditBackend

      B getAuditBackend(String name)
      Returns:
      the AuditBackend with the given name