Class Handlers
java.lang.Object
org.jdbi.v3.sqlobject.Handlers
- All Implemented Interfaces:
JdbiConfig<Handlers>
Deprecated.
Registry for
handler factories
, which produce handlers
for SQL object methods.
By default, a factory is registered for methods annotated
with SQL annotations such as @SqlUpdate
or SqlQuery
. Clients may register additional factories to provide
support for other use cases. In the case that two or more registered factories would support a particular SQL object
method, the last-registered factory takes precedence.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns a copy of this configuration object.Deprecated.register
(HandlerFactory factory) Deprecated.Registers the given handler factory with the registry.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jdbi.v3.core.config.JdbiConfig
setRegistry
-
Constructor Details
-
Handlers
public Handlers()Deprecated.
-
-
Method Details
-
register
Deprecated.Registers the given handler factory with the registry.- Parameters:
factory
- the factory to register- Returns:
- this
-
findFor
-
createCopy
Deprecated.Description copied from interface:JdbiConfig
Returns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
createCopy
in interfaceJdbiConfig<Handlers>
- Returns:
- a copy of this configuration object.
-
ExtensionHandlerFactory
instances that are returned from theExtensionFactory.getExtensionHandlerFactories(ConfigRegistry)
method.