Package org.jdbi.v3.core.qualifier
Class Qualifiers
java.lang.Object
org.jdbi.v3.core.qualifier.Qualifiers
- All Implemented Interfaces:
 JdbiConfig<Qualifiers>
Utility class for type qualifiers supported by Jdbi core.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this configuration object.findFor(AnnotatedElement... elements) Returns the set of qualifying annotations on the given elements.<ELEM extends AnnotatedElement & Type>
QualifiedType<?>qualifiedTypeOf(ELEM type) voidsetRegistry(ConfigRegistry registry) The registry will inject itself into the configuration object. 
- 
Constructor Details
- 
Qualifiers
public Qualifiers() 
 - 
 - 
Method Details
- 
setRegistry
Description copied from interface:JdbiConfigThe registry will inject itself into the configuration object. This can be useful if you need to look up dependencies. You will get a new registry after being copied.- Specified by:
 setRegistryin interfaceJdbiConfig<Qualifiers>- Parameters:
 registry- the registry that owns this configuration object
 - 
qualifiedTypeOf
 - 
findFor
Returns the set of qualifying annotations on the given elements.- Parameters:
 elements- the annotated elements. Null elements are ignored.- Returns:
 - the set of qualifying annotations on the given elements.
 
 - 
createCopy
Description copied from interface:JdbiConfigReturns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
 createCopyin interfaceJdbiConfig<Qualifiers>- Returns:
 - a copy of this configuration object.
 
 
 -