Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
10 lines (5 loc) · 534 Bytes

File metadata and controls

10 lines (5 loc) · 534 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
Java 中区分 API SPI通俗的讲API SPI 都是相对的概念他们的差别只在语义上API 直接被应用开发人员使用SPI 被框架扩展人员使用
API Application Programming Interface
大多数情况下都是实现方来制定接口并完成对接口的不同实现调用方仅仅依赖却无权选择不同实现
SPI Service Provider Interface
而如果是调用方来制定接口实现方来针对接口来实现不同的实现调用方来选择自己需要的实现方
Morty Proxy This is a proxified and sanitized view of the page, visit original site.