diff options
author | Benjamin Barenblat <bbarenblat@galois.com> | 2014-02-03 17:19:53 -0800 |
---|---|---|
committer | Benjamin Barenblat <bbarenblat@galois.com> | 2014-02-06 09:50:09 -0800 |
commit | cc9249c85c50116813665d5753d81c3d5f11c9e7 (patch) | |
tree | ed31dd5412e7e04f4bd726c00c62ce519051676d /src | |
parent | 0b617259a3c1c1f7e2c097e0f56d8ae3c5cc96f7 (diff) |
Java: Add 'EnvironmentConfiguredTracer'
Adding 'ppaml_tracer_init_from_env' (commit b9dfb8d0) makes the Java
code substantially more complicated, as it introduces a second mechanism
to construct 'Tracer's. While I could simply provide two constructors
in the 'Tracer' class, this would make for an ugly and dangerous
implementation; after all, the life cycle of a tracer configured
explicitly is noticeably different from the life cycle of a tracer
configured by sourcing environment variables. Instead, I’ve changed
'Tracer' to be an interface implemented by 'ExplicitlyConfiguredTracer'
and 'EnvironmentConfiguredTracer'.
This is an API-breaking change.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions