spi

http://singleant.iteye.com/blog/1497259

 

jdk中的ServiceLoader用这个机制发现接口的实现。

posted @ 2014-08-28 13:42  jvava  阅读(142)  评论(0编辑  收藏  举报