[shrinkwrap-issues] [JBoss JIRA] (SHRINKDESC-158) create descriptor for javax.enterprise.inject.spi.Extension

Mathieu Lachance (JIRA) issues at jboss.org
Tue Oct 7 22:54:10 EDT 2014


Mathieu Lachance created SHRINKDESC-158:
-------------------------------------------

             Summary: create descriptor for javax.enterprise.inject.spi.Extension
                 Key: SHRINKDESC-158
                 URL: https://issues.jboss.org/browse/SHRINKDESC-158
             Project: ShrinkWrap Descriptors
          Issue Type: Feature Request
    Affects Versions: 2.0.0-alpha-5
            Reporter: Mathieu Lachance


like beans.xml I often want to activate, deactivate, play with the ordering of CDI extension depending on the test.

Having a descriptor for META-INF/services/"javax.enterprise.inject.spi.Extension" (which contains only a list of fully qualified classname each separated with a line separator) would be a little nice addition.

Right now I'm simply using the following java8 snippet to create my resource:
{code}
new StringAsset(
    			Stream.of(MyTestClass.class, ....)
    				.map(Object::toString)
    				.collect(Collectors.joining(System.lineSeparator())));
{code}




--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the shrinkwrap-issues mailing list