JCA Provider Service

Alan Bateman Alan.Bateman at oracle.com
Mon Jan 7 16:01:36 UTC 2019


On 07/01/2019 15:52, Will Sargent wrote:
> I didn't know that a service provider mechanism was added in Java 9.  
> The ServiceLoader pattern I'm using has been around since JDK 1.7 if 
> that's what you mean:
>
> https://www.oracle.com/technetwork/articles/javase/extensible-137159.html
>
> I don't use Java 9, nor do I know any companies or individuals who use it.
>
Since JDK 9, you can deploy JCE providers on the class path or module 
path as service providers. This means JCE is using ServiceLoader to 
locate and load them. You may find this useful for what you are doing, 
once you get to a newer release.

-Alan



More information about the security-dev mailing list