Service Providersand versioning
Alan Bateman
Alan.Bateman at oracle.com
Wed Apr 18 13:12:38 PDT 2012
On 18/04/2012 20:05, Sean Mullan wrote:
> On 04/18/2012 01:13 PM, Alan Bateman wrote:
>> On 18/04/2012 16:50, Sean Mullan wrote:
>>>
>>> But a Provider is not a Service. It is more equivalent to a
>>> ServiceLoader.
>> Okay but I'm just observing that the security providers are listed today
>> in java.security, and if converted to services, then you could iterate
>> over them with ServiceLoader.load(java.security.Provider.class).
>
> Hmm, I see. Can you return them in a particular order, as in the
> java.security file?
Not concurrently, but for both services and aliases then one couple
envisage configuring the order, essentially preferences.
-Alan
More information about the jigsaw-dev
mailing list