[JBoss JIRA] Created: (SHRINKDESC-28) Consider alternative and alternatives() methods in CDI descriptor
by Jozef Hartinger (JIRA)
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