Interface StereotypeInfo

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ScopeInfo defaultScope()
      Returns the default scope defined by this stereotype.
      java.util.Collection<jakarta.enterprise.lang.model.AnnotationInfo> interceptorBindings()
      Returns the set of interceptor binding annotations defined by this stereotype.
      boolean isAlternative()
      Returns whether this stereotype is meta-annotated @Alternative.
      boolean isNamed()
      Returns whether this stereotype is meta-annotated @Named.
      java.lang.Integer priority()
      Returns the priority value this stereotype declares using the @Priority meta-annotation.
    • Method Detail

      • defaultScope

        ScopeInfo defaultScope()
        Returns the default scope defined by this stereotype. Returns null if this stereotype does not define a default scope.
        Returns:
        the default scope or null
      • interceptorBindings

        java.util.Collection<jakarta.enterprise.lang.model.AnnotationInfo> interceptorBindings()
        Returns the set of interceptor binding annotations defined by this stereotype. Returns an empty collection if this stereotype does not define any interceptor binding.
        Returns:
        immutable collection of interceptor binding annotations, never null
      • isAlternative

        boolean isAlternative()
        Returns whether this stereotype is meta-annotated @Alternative. This means that all beans with this stereotype are alternatives.
        Returns:
        whether this stereotype is meta-annotated @Alternative
      • priority

        java.lang.Integer priority()
        Returns the priority value this stereotype declares using the @Priority meta-annotation. Beans with this stereotype will be enabled for the application and ordered using this priority value (unless they declare priority explicitly).

        Returns null if this stereotype is not meta-annotated @Priority.

        Returns:
        the @Priority value declared by this stereotype, or null if this stereotype is not meta-annotated @Priority
      • isNamed

        boolean isNamed()
        Returns whether this stereotype is meta-annotated @Named. This means that all beans with this stereotype have default bean names.
        Returns:
        whether this stereotype is meta-annotated @Named