org.zodiac.datasource.jdbc.callback.DynamicDataSourceCallback Maven / Gradle / Ivy
The newest version!
package org.zodiac.datasource.jdbc.callback;
import org.zodiac.datasource.annotation.DataSourceSelector;
public interface DynamicDataSourceCallback {
/**
* {@link DataSourceSelector}未指定注解的情况下,设置默认的DataSource. 预留次接口,方便特殊场景下定制数据源路由策略。
*/
void setDefaultDataSource();
}