[shrinkwrap-issues] [JBoss JIRA] Updated: (SHRINKWRAP-336) Provide addAsServiceProvider overload that supports String
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Thu Sep 22 07:01:26 EDT 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aslak Knutsen updated SHRINKWRAP-336:
-------------------------------------
Summary: Provide addAsServiceProvider overload that supports String (was: Provide addAsServiceProvider overload that supports "serviceInterface" as String)
> Provide addAsServiceProvider overload that supports String
> ----------------------------------------------------------
>
> Key: SHRINKWRAP-336
> URL: https://issues.jboss.org/browse/SHRINKWRAP-336
> Project: ShrinkWrap
> Issue Type: Feature Request
> Components: api
> Affects Versions: 1.0.0-beta-6
> Reporter: Aslak Knutsen
>
> In some cases you want to package ServiceProviderInterfaces to might not be available/loadable at package time.
> This only work if CDI API is on client path
> {code}
> .addAsServiceProvider(Extension.class, CDIExtension.class);
> {code}
> A possible overload could be:
> {code}
> .addAsServiceProvider("javax.enterprise.inject.spi.Extension", "my.cdi.CDIExtension");
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list