接口 PropertySourceExtensionLoader.ResourcePropertySourcesRefresher
-
- 封闭类:
- PropertySourceExtensionLoader<A extends java.lang.annotation.Annotation,EA extends PropertySourceExtensionAttributes<A>>
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface protected static interface PropertySourceExtensionLoader.ResourcePropertySourcesRefresherThe Refresher ofPropertySources'forResource- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
PropertySource,Resource
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default voidrefresh(java.lang.String resourceValue)Refresh thePropertySourceson theResource(s) that was or were resolved by the valuevoidrefresh(java.lang.String resourceValue, org.springframework.core.io.Resource resource)Refresh thePropertySourcesonResourcebeing refreshed
-
-
-
方法详细资料
-
refresh
void refresh(java.lang.String resourceValue, @Nullable org.springframework.core.io.Resource resource) throws java.lang.ThrowableRefresh thePropertySourcesonResourcebeing refreshed- 参数:
resourceValue- the value of resource declared byPropertySourceExtension.value()resource- the optionalPropertySources'Resource. Ifresourceisnull, it indicates the resource is not specified, the actual resource(s) will be resolved by theresourceValue, or refreshes thePropertySourcesfrom the specifiedResource- 抛出:
java.lang.Throwable- any error occurs
-
refresh
default void refresh(java.lang.String resourceValue) throws java.lang.ThrowableRefresh thePropertySourceson theResource(s) that was or were resolved by the value- 参数:
resourceValue- the value of resource declared byPropertySourceExtension.value()- 抛出:
java.lang.Throwable- any error occurs
-
-