SPI示例代码及实现方式

上传者: baidu_28370189 | 上传时间: 2021-09-05 01:24:25 | 文件大小: 41KB | 文件类型: ZIP
SPI示例,演示SPI如何动态使用第三方实现方式的,以及第三方jar包的实现方式。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

文件下载

资源详情

[{"title":"( 50 个子文件 41KB ) SPI示例代码及实现方式","children":[{"title":"SpiMaven","children":[{"title":"com.spi","children":[{"title":".project <span style='color:#111;'> 559B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"spi","children":[{"title":"com","children":[{"title":"spi","children":[{"title":"AppTest.java <span style='color:#111;'> 677B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"META-INF","children":[{"title":"services","children":[{"title":"spi.com.spi.IShout <span style='color:#111;'> 33B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"spi","children":[{"title":"com","children":[{"title":"spi","children":[{"title":"IShout.java <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"Bird.java <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"App.java <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"SpiMain.java <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"Dog.java <span style='color:#111;'> 145B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"com.spi-0.0.1-SNAPSHOT.jar <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"META-INF","children":[{"title":"services","children":[{"title":"spi.com.spi.IShout <span style='color:#111;'> 33B </span>","children":null,"spread":false}],"spread":true},{"title":"MANIFEST.MF <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"maven","children":[{"title":"spi","children":[{"title":"com.spi","children":[{"title":"pom.properties <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 766B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"spi","children":[{"title":"com","children":[{"title":"spi","children":[{"title":"IShout.class <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"Dog.class <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":"SpiMain.class <span style='color:#111;'> 939B </span>","children":null,"spread":false},{"title":"App.class <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"Bird.class <span style='color:#111;'> 506B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"surefire-reports","children":[{"title":"TEST-spi.com.spi.AppTest.xml <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"spi.com.spi.AppTest.txt <span style='color:#111;'> 266B </span>","children":null,"spread":false}],"spread":true},{"title":"maven-archiver","children":[{"title":"pom.properties <span style='color:#111;'> 109B </span>","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"spi","children":[{"title":"com","children":[{"title":"spi","children":[{"title":"AppTest.class <span style='color:#111;'> 609B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"surefire","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 119B </span>","children":null,"spread":false}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SpiMavenTest","children":[{"title":"com.spitest","children":[{"title":".project <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"spitest","children":[{"title":"com","children":[{"title":"spitest","children":[{"title":"AppTest.java <span style='color:#111;'> 685B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"META-INF","children":[{"title":"services","children":[{"title":"spi.com.spi.IShout <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"spi","children":[{"title":"com","children":[{"title":"spi","children":[{"title":"IShout.java <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"App.java <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"Cat.java <span style='color:#111;'> 145B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"com.spitest-0.0.1-SNAPSHOT.jar <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"META-INF","children":[{"title":"services","children":[{"title":"spi.com.spi.IShout <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true},{"title":"MANIFEST.MF <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"maven","children":[{"title":"spitest","children":[{"title":"com.spitest","children":[{"title":"pom.properties <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 778B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"spi","children":[{"title":"com","children":[{"title":"spi","children":[{"title":"IShout.class <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"Cat.class <span style='color:#111;'> 507B </span>","children":null,"spread":false},{"title":"App.class <span style='color:#111;'> 537B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"surefire-reports","children":[{"title":"TEST-spitest.com.spitest.AppTest.xml <span style='color:#111;'> 5.86KB </span>","children":null,"spread":false},{"title":"spitest.com.spitest.AppTest.txt <span style='color:#111;'> 275B </span>","children":null,"spread":false}],"spread":true},{"title":"maven-archiver","children":[{"title":"pom.properties <span style='color:#111;'> 117B </span>","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"spitest","children":[{"title":"com","children":[{"title":"spitest","children":[{"title":"AppTest.class <span style='color:#111;'> 625B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"surefire","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 119B </span>","children":null,"spread":false}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明