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

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


     [ https://issues.jboss.org/browse/SHRINKDESC-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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


More information about the shrinkwrap-issues mailing list