摘要: 配置 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi 阅读全文
posted @ 2020-07-12 23:11 阿布都日 阅读(515) 评论(0) 推荐(0) 编辑
摘要: Class<Person> c = Person.class; Person p = c.newInstanace(); Method m = c.getMethod("setAge",Integer.class); m.invoke(p,33); 阅读全文
posted @ 2020-07-12 23:06 阿布都日 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 配置 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi 阅读全文
posted @ 2020-07-12 22:52 阿布都日 阅读(202) 评论(0) 推荐(0) 编辑
摘要: POM <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs 阅读全文
posted @ 2020-07-12 22:10 阿布都日 阅读(158) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-07-12 21:41 阿布都日 阅读(189) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-07-12 20:43 阿布都日 阅读(104) 评论(0) 推荐(0) 编辑
摘要: POM: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x 阅读全文
posted @ 2020-07-12 19:57 阿布都日 阅读(159) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-07-12 16:38 阿布都日 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 配置: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs 阅读全文
posted @ 2020-07-12 15:51 阿布都日 阅读(130) 评论(0) 推荐(0) 编辑
摘要: pom配置: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
posted @ 2020-07-12 15:36 阿布都日 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 配置: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs 阅读全文
posted @ 2020-07-12 15:06 阿布都日 阅读(141) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-07-12 14:47 阿布都日 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 配置: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs 阅读全文
posted @ 2020-07-12 14:43 阿布都日 阅读(130) 评论(0) 推荐(0) 编辑
摘要: spring中基于XML的AOP配置步骤 1. 把通知类Bean也交给spring来管理 2. 使用aop:config表明开始aop配置 3. 使用aop:aspect标签表明配置切面 id属性:给切面提供一个唯一标识 ref属性:指定通知类bean的ID 4. 在aop:aspect标签的内部使 阅读全文
posted @ 2020-07-12 14:21 阿布都日 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 配置: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs 阅读全文
posted @ 2020-07-12 14:20 阿布都日 阅读(121) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2020-07-12 13:35 阿布都日 阅读(459) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-07-12 13:34 阿布都日 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 配置: jdbc.driver=org.h2.Driver jdbc.url=jdbc:h2:file:~/.h2/h2 jdbc.username=root jdbc.password=123456 <?xml version="1.0" encoding="UTF-8"?> <project x 阅读全文
posted @ 2020-07-12 11:50 阿布都日 阅读(195) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2020-07-12 11:04 阿布都日 阅读(159) 评论(0) 推荐(0) 编辑
摘要: package com.example; /** * 消费者 */ public class Client { public static void main(String[] args) { IProducer producer = Proxy2.getProducer(Producer.clas 阅读全文
posted @ 2020-07-12 10:36 阿布都日 阅读(150) 评论(0) 推荐(0) 编辑