[jboss-jira] [JBoss JIRA] (ELY-775) Module free ServiceLoader discovery for Providers and Mechanism Factories
Darran Lofthouse (JIRA)
issues at jboss.org
Sat Nov 19 12:10:00 EST 2016
Darran Lofthouse created ELY-775:
------------------------------------
Summary: Module free ServiceLoader discovery for Providers and Mechanism Factories
Key: ELY-775
URL: https://issues.jboss.org/browse/ELY-775
Project: WildFly Elytron
Issue Type: Task
Components: Authentication Client
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.1.0.Beta15
We still want ServiceLoader based discovery to work in non-modular environments, rather than adding a new element I think we rename the following: -
{code:xml}
<xsd:element name="use-module-providers" type="module-ref-type"/>
<xsd:element name="use-module-sasl-factory" type="module-ref-type" />
{code}
To use-service-loader-*
Then make the attributes of module-ref-type optional and use the ClassLoader of the parser.
I think in 99% of cases we will be looking for Elytron implementations so as the ClassLoader was able to load the parser it should have the rest of the Elytron service loader services..
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list