Interface InternalBridge

  • All Known Implementing Classes:
    InternalBridgeImpl

    public interface InternalBridge
    Internal abstraction layer for MicroProfile 1.1 and 2.0.

    Only Helidon internal clients of metrics should use this interface. Other clients should use Helidon BOMs or bundles which will use the appropriate versions of Helidon metrics and MicroProfile Metrics.

    Implementations provide for getting instances of these features:

    • registry factory
    • metric registry
    • metric ID
    • metadata builder
    • metadata
    This interface is organized accordingly. Each of these exposes a factory and an instance of that factory. (The metadata builder from MP Metrics 2.0 is the factory for metadata, and therefore is nested under metadata in this interface. ) The top level of the bridge also exposes a few convenience methods for getting new instances of a version-specific implementations of the types.