org.skife.jdbi.v2
Class Foreman
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createArgument
public Argument createArgument(Class<?> expectedType,
Object boundValue,
StatementContext ctx)
- Parameters:
expectedType
- The type to use for matching against bound ArgumentFactory instancesboundValue
- The value to be bound by the created Argumentctx
- the relevant StatementContext
- Returns:
Copyright © 2017. All rights reserved.