@Documented @Target(value={}) @Retention(value=RUNTIME) public @interface PropertyBinderRef
TypeBinding.
References can use either a name, a type, or both.
Each time the mapped annotation is encountered, an instance of the property binder will be created.
The binder will be passed the annotation through its PropertyBinder.initialize(Annotation) method,
and then the bridge will be created and bound by PropertyBinder.bind(PropertyBindingContext).
Property bridges mapped this way can be parameterized:
the binder will be able to take any attribute of the mapped annotation into account
in its PropertyBinder.initialize(Annotation) method.
| Modifier and Type | Optional Element and Description |
|---|---|
String |
name
Reference a property binder by its bean name.
|
Class<? extends PropertyBinder<?>> |
type
Reference a property binder by its bean type.
|
public abstract String name
public abstract Class<? extends PropertyBinder<?>> type
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.