[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKDESC-28) Consider alternative and alternatives() methods in CDI descriptor

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Sun Feb 13 03:45:13 EST 2011


Consider alternative and alternatives() methods in CDI descriptor
-----------------------------------------------------------------

                 Key: SHRINKDESC-28
                 URL: https://issues.jboss.org/browse/SHRINKDESC-28
             Project: ShrinkWrap Descriptors
          Issue Type: Feature Request
          Components: api
            Reporter: Jozef Hartinger
            Priority: Minor


Currently, there are four methods for working with CDI alternatives
*alternativeClasses()
*alternativeClass()
*alternativeStereotypes()
*alternativeStereotype()

Instead, consider providing
*alternative()
*alternatives()

where the implementation would either
* register a stereotype if the class given is an annotation (and it contains @Stereotype annotation)
* or register the class as an alternative class

--
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