This website requires JavaScript.
Explore
Help
Sign In
zcy
/
spring_reference
Watch
1
Star
0
Fork
You've already forked spring_reference
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
e63119a298
spring_reference
/
IV. Spring Boot features
/
36.3.4. Resource conditions.md
201 B
Raw
Blame
History
Unescape
Escape
36.3.4. Resource条件
@ConditionalOnResource注解允许只有在特定资源出现时配置才会被包含。资源可以使用常见的Spring约定命名
,
例如file:/home/user/test.dat。