All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 - 2024 Weber Informatics LLC | Privacy Policy