public class Arguments extends Object implements JdbiConfig<Arguments>
| Constructor and Description |
|---|
Arguments() |
| Modifier and Type | Method and Description |
|---|---|
Arguments |
createCopy()
Returns a copy of this configuration object.
|
Optional<Argument> |
findFor(Type type,
Object value)
Obtain an argument for given value in the given context
|
Arguments |
register(ArgumentFactory factory) |
void |
setRegistry(ConfigRegistry registry)
The registry will inject itself into the configuration object.
|
public Arguments createCopy()
JdbiConfigcreateCopy in interface JdbiConfig<Arguments>public Optional<Argument> findFor(Type type, Object value)
type - the type of the argument.value - the argument value.public Arguments register(ArgumentFactory factory)
public void setRegistry(ConfigRegistry registry)
JdbiConfigsetRegistry in interface JdbiConfig<Arguments>registry - the registry that owns this configuration objectCopyright © 2017. All rights reserved.