随笔分类 -  Spring

使用javaconfig实现配置
摘要:配置类 package com.kuang.pojo; import org.springframework.beans.factory.annotation.Value; public class User { public String getName() { return name; } @V 阅读全文
posted @ 2021-10-14 21:44 比企苦 阅读(45) 评论(0) 推荐(0)
Spring初学
摘要:注解的配置格式: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema 阅读全文
posted @ 2021-10-12 21:30 比企苦 阅读(44) 评论(0) 推荐(0)