Skip to content

@Priority on Sterotypes do not enable an Alternative as per the Spec #649

@struberg

Description

@struberg

In StereotypeWithPriorityTest it is assumed that @Priority on a Stereotype does enable the Alternative. But this is imo not defined in the spec.
The specification only defines 2 cases as per section 2.4.1.1:

An alternative may be given a priority for the application:
• by placing the @Priority annotation on the bean class of a managed bean, or
• by placing the @Priority annotation on the bean class that declares the producer method, field or resource.

Can you please point me to the paragraph which defines that Priority on Stereotypes do also count? Txs!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions