@Retention(value=RUNTIME) @Target(value=TYPE) @Public @Deprecated public @interface InstantiateViaFactory
MetricReportersthat support factories but want to maintain backwards-compatibility with existing reflection-based configurations.
When an annotated reporter is configured to be used via reflection the given factory will be used instead.
Attention: This annotation does not work if the reporter is loaded as a plugin. For these
cases, annotate the factory with
public abstract String factoryClassName
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.