Package io.virtdata.core
Class ContextualBindingsArrayTemplate<C,R>
- java.lang.Object
-
- io.virtdata.core.ContextualBindingsArrayTemplate<C,R>
-
- Type Parameters:
C- The type of the contextual template object.R- The type which will be produced when mapped values are applied to a type C
public class ContextualBindingsArrayTemplate<C,R> extends java.lang.ObjectA template that maps a set of specifiers, a context object, and a method for applying mapped values to the context object. This can be used in the configuration phase, in global scope without triggering mapper bindings resolution from specifiers.
-
-
Constructor Summary
Constructors Constructor Description ContextualBindingsArrayTemplate(C context, BindingsTemplate bindingsTemplate, ValuesArrayBinder<C,R> valuesArrayBinder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindingsTemplategetBindingsTemplate()CgetContext()ValuesArrayBinder<C,R>getValuesArrayBinder()ContextualArrayBindings<C,R>resolveBindings()
-
-
-
Constructor Detail
-
ContextualBindingsArrayTemplate
public ContextualBindingsArrayTemplate(C context, BindingsTemplate bindingsTemplate, ValuesArrayBinder<C,R> valuesArrayBinder)
-
-
Method Detail
-
getContext
public C getContext()
-
getBindingsTemplate
public BindingsTemplate getBindingsTemplate()
-
getValuesArrayBinder
public ValuesArrayBinder<C,R> getValuesArrayBinder()
-
resolveBindings
public ContextualArrayBindings<C,R> resolveBindings()
-
-