Class BeanBinder
java.lang.Object
org.hibernate.search.mapper.pojo.bridge.mapping.impl.BeanBinder
- All Implemented Interfaces:
IdentifierBinder,ValueBinder
A binder that simply retrieves the bridge as a bean from the bean provider.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(IdentifierBindingContext<?> context) Binds a POJO property to a document identifier.voidbind(ValueBindingContext<?> context) Binds a value to an index field.toString()
-
Constructor Details
-
BeanBinder
-
-
Method Details
-
toString
-
bind
Description copied from interface:IdentifierBinderBinds a POJO property to a document identifier.The context passed in parameter provides various information about the identifier being bound. Implementations are expected to take advantage of that information and to call one of the
bridge(...)methods on the context to set the bridge.- Specified by:
bindin interfaceIdentifierBinder- Parameters:
context- A context object providing information about the identifier being bound, and expecting a call to one of itsbridge(...)methods.
-
bind
Description copied from interface:ValueBinderBinds a value to an index field.The context passed in parameter provides various information about the value being bound. Implementations are expected to take advantage of that information and to call one of the
bridge(...)methods on the context to set the bridge.- Specified by:
bindin interfaceValueBinder- Parameters:
context- A context object providing information about the value being bound, and expecting a call to one of itsbridge(...)methods.
-