use of org.jdbi.v3.sqlobject.config.Configurer in project jdbi by jdbi.
the class RegisterFieldMappersImpl method configureForType.
@Override
public void configureForType(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) {
Configurer delegate = new RegisterFieldMapperImpl();
RegisterFieldMappers registerFieldMappers = (RegisterFieldMappers) annotation;
Stream.of(registerFieldMappers.value()).forEach(anno -> delegate.configureForType(registry, anno, sqlObjectType));
}
use of org.jdbi.v3.sqlobject.config.Configurer in project jdbi by jdbi.
the class RegisterObjectArgumentFactoriesImpl method configureForType.
@Override
public void configureForType(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) {
Configurer delegate = new RegisterObjectArgumentFactoryImpl();
RegisterObjectArgumentFactories registerObjectArgumentFactories = (RegisterObjectArgumentFactories) annotation;
Stream.of(registerObjectArgumentFactories.value()).forEach(anno -> delegate.configureForType(registry, anno, sqlObjectType));
}
use of org.jdbi.v3.sqlobject.config.Configurer in project jdbi by jdbi.
the class RegisterRowMapperFactoriesImpl method configureForType.
@Override
public void configureForType(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) {
Configurer delegate = new RegisterRowMapperFactoryImpl();
RegisterRowMapperFactories registerRowMapperFactories = (RegisterRowMapperFactories) annotation;
Stream.of(registerRowMapperFactories.value()).forEach(anno -> delegate.configureForType(registry, anno, sqlObjectType));
}
use of org.jdbi.v3.sqlobject.config.Configurer in project jdbi by jdbi.
the class RegisterArgumentFactoriesImpl method configureForType.
@Override
public void configureForType(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) {
Configurer delegate = new RegisterArgumentFactoryImpl();
RegisterArgumentFactories factories = (RegisterArgumentFactories) annotation;
Stream.of(factories.value()).forEach(anno -> delegate.configureForType(registry, anno, sqlObjectType));
}
use of org.jdbi.v3.sqlobject.config.Configurer in project jdbi by jdbi.
the class RegisterBeanMappersImpl method configureForType.
@Override
public void configureForType(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) {
Configurer delegate = new RegisterBeanMapperImpl();
RegisterBeanMappers registerBeanMappers = (RegisterBeanMappers) annotation;
Stream.of(registerBeanMappers.value()).forEach(anno -> delegate.configureForType(registry, anno, sqlObjectType));
}
Aggregations