Package org.miaixz.bus.spring.annotation
Interface PlaceHolderBinder
- All Known Implementing Classes:
DefaultPlaceHolderBinder
public interface PlaceHolderBinder
返回值信息处理
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Details
-
bind
static <T> T bind(org.springframework.core.env.Environment environment, Class<T> targetClass, String prefix) 全局资源绑定到指定对象即属性- Type Parameters:
T- 泛型对象- Parameters:
environment- 环境配置信息targetClass- 目标Class对象prefix- 资源前缀- Returns:
- the object
-
bind
全局资源绑定到指定对象即属性- Parameters:
environment- 环境配置信息string- 原始值- Returns:
- the string
-
bind
全局资源绑定到指定对象即属性- Parameters:
string- 原始值- Returns:
- the string
-