[Hawkular-dev] PR review request: https://github.com/hawkular/hawkular-apm/pull/463
Gary Brown
gbrown at redhat.com
Tue Jun 28 05:14:22 EDT 2016
Hi
In the client (instrumented) environment, Hawkular APM uses the ServiceLoader to obtain implementations for various components. This enhancement introduces a 'ServiceStatus' check, to determine whether an implementation is suitable to be returned (i.e. has all the config it needs).
This will enable the client to be packaged with multiple implementations of a particular interface, and enable selection of the appropriate impl at runtime based on the configuration (e.g. environment variables).
Regards
Gary
More information about the hawkular-dev
mailing list