Search in sources :

Example 1 with RegisterRowMapperFactories

use of org.jdbi.v3.sqlobject.config.RegisterRowMapperFactories 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));
}
Also used : RegisterRowMapperFactories(org.jdbi.v3.sqlobject.config.RegisterRowMapperFactories) Configurer(org.jdbi.v3.sqlobject.config.Configurer)

Aggregations

Configurer (org.jdbi.v3.sqlobject.config.Configurer)1 RegisterRowMapperFactories (org.jdbi.v3.sqlobject.config.RegisterRowMapperFactories)1