protobuf4j.orm.DataSourceRouting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf4j-orm-starter Show documentation
Show all versions of protobuf4j-orm-starter Show documentation
A Facility Framework to Develop with Google Protobuf
package protobuf4j.orm;
import java.lang.annotation.*;
/**
* 根据{@code value}值来寻找对应的名为`{@code JdbcTemplate}`的{@code JdbcTemplate},注入到对应的Dao实例中
*
* Author: yuanwq
* Date: 2019/2/24
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataSourceRouting {
/**
* {@code JdbcTemplate}的bean的名字前缀,完整的beanName={@code JdbcTemplate}
*/
String value();
}