随笔分类 -  spring

摘要:配置 <?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 阿布都日 阅读(540) 评论(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 阿布都日 阅读(211) 评论(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 阿布都日 阅读(168) 评论(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 阿布都日 阅读(196) 评论(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 阿布都日 阅读(108) 评论(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 阿布都日 阅读(168) 评论(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 阿布都日 阅读(168) 评论(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 阿布都日 阅读(134) 评论(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 阿布都日 阅读(171) 评论(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 阿布都日 阅读(166) 评论(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 阿布都日 阅读(194) 评论(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 阿布都日 阅读(133) 评论(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 阿布都日 阅读(497) 评论(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 阿布都日 阅读(130) 评论(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 阿布都日 阅读(466) 评论(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 阿布都日 阅读(153) 评论(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 阿布都日 阅读(202) 评论(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 阿布都日 阅读(162) 评论(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 阿布都日 阅读(163) 评论(0) 推荐(0)
摘要:配置文件: jdbc.driver=org.h2.Driver jdbc.url=jdbc:h2:file:~/.h2/h2 jdbc.username=root jdbc.password=123456 pom文件 <?xml version="1.0" encoding="UTF-8"?> <p 阅读全文
posted @ 2020-07-12 01:35 阿布都日 阅读(152) 评论(0) 推荐(0)