<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">That's really fascinating, I had no idea.<div><br></div><div>Looks like it's documented in <a href="https://docs.oracle.com/javase/9/security/howtoimplaprovider.htm#JSSEC-GUID-83742677-6E39-4A8D-BF0F-BC743E3AE43C">Step 4: Create a Module Declaration for Your Provider</a> with follow up in <a href="https://docs.oracle.com/javase/9/security/howtoimplaprovider.htm#GUID-831AA25F-F702-442D-A2E4-8DA6DEA16F33">Step 8.1: Configure the Provider</a> and <a href="https://docs.oracle.com/javase/9/security/howtoimplaprovider.htm#JSSEC-GUID-3FD26072-6982-4DCE-932C-DE152C463992">Step 10: Run Your Test Programs</a>.</div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 7, 2019 at 8:01 AM Alan Bateman <<a href="mailto:Alan.Bateman@oracle.com">Alan.Bateman@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 07/01/2019 15:52, Will Sargent wrote:<br>
> I didn't know that a service provider mechanism was added in Java 9.  <br>
> The ServiceLoader pattern I'm using has been around since JDK 1.7 if <br>
> that's what you mean:<br>
><br>
> <a href="https://www.oracle.com/technetwork/articles/javase/extensible-137159.html" rel="noreferrer" target="_blank">https://www.oracle.com/technetwork/articles/javase/extensible-137159.html</a><br>
><br>
> I don't use Java 9, nor do I know any companies or individuals who use it.<br>
><br>
Since JDK 9, you can deploy JCE providers on the class path or module <br>
path as service providers. This means JCE is using ServiceLoader to <br>
locate and load them. You may find this useful for what you are doing, <br>
once you get to a newer release.<br>
<br>
-Alan<br>
</blockquote></div>