43.3.4 Resource条件
@ConditionalOnResource
注解只在特定资源出现时才会包含配置,可以使用常见的Spring约定命名资源,例如file:/home/user/test.dat
。
Last updated
Was this helpful?
@ConditionalOnResource
注解只在特定资源出现时才会包含配置,可以使用常见的Spring约定命名资源,例如file:/home/user/test.dat
。
Last updated
Was this helpful?