[
https://issues.jboss.org/browse/SHRINKDESC-28?page=com.atlassian.jira.plu...
]
Jozef Hartinger updated SHRINKDESC-28:
--------------------------------------
Description:
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 the
@Stereotype meta-annotation)
* or register the class as an alternative class
was:
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
Affects: [Documentation (Ref Guide, User Guide, etc.), Release Notes]
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 the
@Stereotype meta-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