Interface DataSourcesBuildTimeConfig

    • Method Detail

      • healthEnabled

        @WithName("health.enabled")
        @WithDefault("true")
        boolean healthEnabled()
        Whether or not a health check is published in case the smallrye-health extension is present.

        This is a global setting and is not specific to a datasource.

      • metricsEnabled

        @WithName("metrics.enabled")
        @WithDefault("false")
        boolean metricsEnabled()
        Whether or not datasource metrics are published in case a metrics extension is present.

        This is a global setting and is not specific to a datasource.

        NOTE: This is different from the "jdbc.enable-metrics" property that needs to be set on the JDBC datasource level to enable collection of metrics for that datasource.

      • url

        @Deprecated
        Optional<String> url()
        Deprecated.
        Only here to detect configuration errors.

        This used to be runtime but we don't really care, we just want to catch invalid configurations.

      • hasNamedDataSources

        default boolean hasNamedDataSources()