JCA Provider Service

Will Sargent will.sargent at gmail.com
Mon Jan 7 15:52:19 UTC 2019


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.

On Sun, Jan 6, 2019 at 11:49 PM Alan Bateman <Alan.Bateman at oracle.com>
wrote:

> On 07/01/2019 03:46, Will Sargent wrote:
> > Hi all,
> >
> > I've put together a small project that will autoload custom JCA
> > providers, bypassing the need to append to the
> > java.security.properties file (which is not well documented), allowing
> > for some programmatic access, and adding some logging.
> >
> Have you tried the service provider mechanism that was added in Java SE
> 9 to support loading JCE providers as services?
>
> -Alan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/security-dev/attachments/20190107/978d978f/attachment.html>


More information about the security-dev mailing list