aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raymond Augé (JIRA) <>
Subject [jira] [Created] (ARIES-1854) Add support for ServiceLoader.load(Class, ClassLoader)
Date Mon, 29 Oct 2018 14:00:31 GMT
Raymond Augé created ARIES-1854:

             Summary: Add support for ServiceLoader.load(Class, ClassLoader)
                 Key: ARIES-1854
             Project: Aries
          Issue Type: Improvement
          Components: SPI Fly
            Reporter: Raymond Augé
            Assignee: Raymond Augé
             Fix For: spifly-1.1

Currently SpiFly does not support the \{{ServiceLoader.load(Class, ClassLoader)}} method,
ignoring it completely.


The solution is to create a wrapper classloader which takes the specified classloader as the
*parent*. If the parent lookup for a provider fails, fall through to the Service Loader Mediator
mechanism. This method does not rely on the TCCL.

This message was sent by Atlassian JIRA

View raw message