this.cacheManager = cacheManager;
this.dataAccessor = dataAccessor;
}
public Object intercept(Object obj, Method method, Object[] args, MethodProxy proxy) throws Throwable {
DataAccessExecutor executor = ExecutorFactory.getExecutor(cacheManager, dataAccessor, method);
if (executor != null) {
return executor.execute(obj, args);
}
return null;
}