A - The type of annotations accepted by the initialize(Annotation) method.public interface MarkerBinder<A extends Annotation>
This binder takes advantage of provided metadata to pick, configure and create a marker object.
| Modifier and Type | Method and Description |
|---|---|
void |
bind(MarkerBindingContext context)
Binds a marker to a POJO property.
|
default void |
initialize(A annotation)
Initialize the parameters of this binder with the attributes of the given annotation.
|
default void initialize(A annotation)
annotation - An annotation to extract parameters from.void bind(MarkerBindingContext context)
Implementations are to call one of the setMarker(...) methods on the context
to set the marker.
context - A context object expecting a call to one of its setMarker(...) methods.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.