ServiceLoader should support Default implementations
----------------------------------------------------
Key: ARQ-218
URL:
https://jira.jboss.org/browse/ARQ-218
Project: Arquillian
Issue Type: Feature Request
Components: Runtime Enricher SPI
Affects Versions: 1.0.0.Alpha2
Reporter: Aslak Knutsen
The ServiceLoader.onlyOne fails if no implementation found. In some cases Arquillian will
provide a default implementation but it should still be overridable from the outside.
Add onlyOne(Interface spi, Class defaultImpl)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira