refactor(util): 重构BeanContext接口及相关实现
将ContextUtils重命名为BeanContext,并统一客户端和服务端的实现 添加DefaultBeanContext作为默认实现 优化Inventory同步任务逻辑,支持WebSocket远程调用 更新tasker_mapper.json添加新的任务映射 移除未使用的syncInventory方法
This commit is contained in:
@@ -2,7 +2,7 @@ package com.ecep.contract.util;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
|
||||
public interface ContextUtils {
|
||||
public interface BeanContext {
|
||||
<T> T getBean(Class<T> requiredType) throws BeansException;
|
||||
|
||||
<T> T getCachedBean(Class<T> requiredType) throws BeansException;
|
||||
Reference in New Issue
Block a user