
com.jn.sqlhelper.datasource.key.parser.DataSourceAnnotationParser Maven / Gradle / Ivy
package com.jn.sqlhelper.datasource.key.parser;
import com.jn.sqlhelper.datasource.annotation.DataSource;
import com.jn.sqlhelper.datasource.key.DataSourceKey;
public class DataSourceAnnotationParser extends AbstractDataSourceKeyAnnotationParser {
@Override
public Class getAnnotation() {
return DataSource.class;
}
@Override
protected DataSourceKey internalParse(DataSource dataSource) {
return new DataSourceKey(dataSource.group(), dataSource.value());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy