C - The type of the contextual template object.R - The resulting type from binding mapped values with the contextual template Cpublic class ContextualBindings<C,R> extends Object implements Binder<R>
A thread-local template that describes a set of data mappers, a context object, and a method for applying mapped values to the context object directly from the bindings. This type is used in thread-local scope to map thread-specific data mapper instances to a contextual template object and a method for applying mapped values to it.
This type is generally constructed by a ContextualDirectBindingsTemplate.
| Constructor and Description |
|---|
ContextualBindings(Bindings bindings,
C context,
ValuesBinder<C,R> valuesBinder) |
| Modifier and Type | Method and Description |
|---|---|
R |
bind(long value)
Bind values derived from a long to some object, returning an object type R
|
Bindings |
getBindings() |
C |
getContext() |
Copyright © 2018. All rights reserved.