Webrev for JAX-WS/JAXB/SAAJ services
Alan Bateman
Alan.Bateman at oracle.com
Thu May 17 08:52:45 PDT 2012
On 17/05/2012 16:21, Paul Sandoz wrote:
> http://cr.openjdk.java.net/~psandoz/jigsaw/jaxws-services/webrev/
>
> This is to make it easier for the team modularizing JAX-WS to experiment with using ServiceLoader.
Good, we need to get the JAX-WS changed to use ServiceLoader.
I can push this for you.
>
> It's still to be determined whether the default service implementations will be declared with:
>
> provides service X with Y;
>
> in the module declaration e.g. since there is no point loading the default service provider if there is a non-default service provider declared in another module.
>
>
> As a side note it does make we wonder whether there should be a special case for a service, essentially a factory, of which there should be at most one (with an optional fallback to a default when are none).
>
Alternatively this could consider as setting a preference, or preferred
order. This may be something we will have to look into for aliases too.
-Alan.
More information about the jigsaw-dev
mailing list