摘要:
3.1.1 配置profile bean 使用@profile 注解 例如 @Configuration @Profile("dev") public class xxxConfig{ @Bean public XXX xx(){ return xxx; } } @Profile注解应用在了类级别上 阅读全文
摘要:
1.p命名空间 属性注入引用 <property name="CD" ref="CD" /> <p:CD-ref="CD" /> 属性注入字面量 <property name="属性" value="字面量" /> <property name"" /> <list> <value>123</val 阅读全文