Skip to content

Refactor SpiLoader and enhance SPI mechanism (#1383)#3

Merged
linkolen merged 1 commit intomasterfrom
taha-master-patches-01
Aug 2, 2021
Merged

Refactor SpiLoader and enhance SPI mechanism (#1383)#3
linkolen merged 1 commit intomasterfrom
taha-master-patches-01

Conversation

@linkolen
Copy link
Copy Markdown
Collaborator

@linkolen linkolen commented Aug 2, 2021

No description provided.

* Add `@Spi` annotation as the general annotation for SPI definition.
* Add isDefault in @SPI, add loadDefaultInstance and improve loadFirstInstanceOrDefault method, improve test cases
* Add SpiLoaderException class for thrown when something goes wrong while loading Provider
* Rearrange packages of base SPI mechanism

NOTE: this PR contains breaking changes regarding API.
@linkolen linkolen merged commit 132d767 into master Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants