请问:mybatis拦截器中如何获取数据源信息?(多数据源的情况下),谢谢!

 @Intercepts({
    @Signature(type = Executor.class, method = "update", args = {MappedStatement.class, Object.class })})
public class MybatisPlugin implements Interceptor {

@Override
    public Object intercept(Invocation invocation) throws Throwable {
        这里怎么获取进入当前拦截器的数据库链接信息呢?(比如说获取jdbc配置bean的id?).
        还请指教!不胜感激
    }



    @Override
    public Object plugin(Object arg0) {
        return Plugin.wrap(arg0, this);
    }

    @Override
    public void setProperties(Properties arg0) {
    }

有个sqlSession,注入进来就可以了