org.skife.jdbi.v2
Class Foreman

java.lang.Object
  extended by org.skife.jdbi.v2.Foreman

public class Foreman
extends Object

Foreman will select best ArgumentFactory to use from all the registered ArgumentFactory instances and return an Argument created from that ArgumentFactory.


Method Summary
 Argument createArgument(Class<?> expectedType, Object boundValue, StatementContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createArgument

public Argument createArgument(Class<?> expectedType,
                               Object boundValue,
                               StatementContext ctx)
Parameters:
expectedType - The type to use for matching against bound ArgumentFactory instances
boundValue - The value to be bound by the created Argument
ctx - the relevant StatementContext
Returns:


Copyright © 2017. All rights reserved.