Use Advanced Search to search the entire archive.
[jsr363-experts] Re: ApacheCon F2F
- From: Martin Desruisseaux <
>
- To:
,
- Subject: [jsr363-experts] Re: ApacheCon F2F
- Date: Mon, 5 Oct 2015 11:44:56 +0200
- Organization: Geomatys
Le 05/10/15 10:09, Werner Keil a écrit :
>
There is no Bootstrap implementation. It is a one-stop facade for
>
different implementations of ServiceProvider. The default
>
ServiceProvider is the only part that gets called via ServiceLoader by
>
default.
javax.measure.spi.Boostrap is a concrete class using
java.util.ServiceLoader for fetching an instance of
javax.measure.spi.ServiceProvider. So if libraries or applications do
not provide their own Bootstrap implementation, this assume that anyone
would use at least the
META-INF/services/javax.measure.spi.ServiceProvider mechanism, even if
they may use an other mechanism after that point. Are we okay with that?
Also, what should Bootstrap do if more than one ServiceProvider is found?
Martin