Package org.jboss.as.weld
Enum CdiAnnotations
- java.lang.Object
-
- java.lang.Enum<CdiAnnotations>
-
- org.jboss.as.weld.CdiAnnotations
-
- All Implemented Interfaces:
Serializable,Comparable<CdiAnnotations>
public enum CdiAnnotations extends Enum<CdiAnnotations>
Class that stores theDotNames of CDI annotations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTERNATIVEjakarta.enterprise.inject.Alternative CDI annotation.ANYjakarta.enterprise.inject.Any CDI annotation.APP_SCOPEDjakarta.enterprise.context.ApplicationScoped CDI annotation.CONV_SCOPEDjakarta.enterprise.context.ConversationScoped CDI annotation.DECORATORjakarta.decorator.Decorator CDI annotation.DEFAULTjakarta.enterprise.inject.Default CDI annotation.DELEGATEjakarta.decorator.Delegate CDI annotation.DEPENDENTjakarta.enterprise.context.Dependent CDI annotation.DISPOSESjakarta.enterprise.inject.Disposes CDI annotation.MODELjakarta.enterprise.inject.Model CDI annotation.NEWjakarta.enterprise.inject.New CDI annotation.NORM_SCOPEjakarta.enterprise.context.NormalScope CDI annotation.OBSERVESjakarta.enterprise.event.Observes CDI annotation.PRODUCESjakarta.enterprise.inject.Produces CDI annotation.REQ_SCOPEDjakarta.enterprise.context.RequestScoped CDI annotation.SESS_SCOPEDjakarta.enterprise.context.SessionScoped CDI annotation.SINGLETONjakarta.inject.Singleton annotation.SPECIALIZESjakarta.enterprise.inject.Specializes CDI annotation.STEREOTYPEjakarta.enterprise.inject.Stereotype CDI annotation.TYPEDjakarta.enterprise.inject.Typed CDI annotation.
-
Field Summary
Fields Modifier and Type Field Description static Set<AnnotationType>BEAN_DEFINING_ANNOTATIONSstatic Set<AnnotationType>BEAN_DEFINING_META_ANNOTATIONSstatic Set<org.jboss.jandex.DotName>BUILT_IN_SCOPE_NAMESstatic Set<AnnotationType>BUILT_IN_SCOPESstatic org.jboss.jandex.DotNameSCOPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.jandex.DotNamegetDotName()StringgetSimpleName()static CdiAnnotationsvalueOf(String name)Returns the enum constant of this type with the specified name.static CdiAnnotations[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECORATOR
public static final CdiAnnotations DECORATOR
jakarta.decorator.Decorator CDI annotation.
-
DELEGATE
public static final CdiAnnotations DELEGATE
jakarta.decorator.Delegate CDI annotation.
-
APP_SCOPED
public static final CdiAnnotations APP_SCOPED
jakarta.enterprise.context.ApplicationScoped CDI annotation.
-
CONV_SCOPED
public static final CdiAnnotations CONV_SCOPED
jakarta.enterprise.context.ConversationScoped CDI annotation.
-
REQ_SCOPED
public static final CdiAnnotations REQ_SCOPED
jakarta.enterprise.context.RequestScoped CDI annotation.
-
SESS_SCOPED
public static final CdiAnnotations SESS_SCOPED
jakarta.enterprise.context.SessionScoped CDI annotation.
-
NORM_SCOPE
public static final CdiAnnotations NORM_SCOPE
jakarta.enterprise.context.NormalScope CDI annotation.
-
DEPENDENT
public static final CdiAnnotations DEPENDENT
jakarta.enterprise.context.Dependent CDI annotation.
-
SINGLETON
public static final CdiAnnotations SINGLETON
jakarta.inject.Singleton annotation.
-
OBSERVES
public static final CdiAnnotations OBSERVES
jakarta.enterprise.event.Observes CDI annotation.
-
ALTERNATIVE
public static final CdiAnnotations ALTERNATIVE
jakarta.enterprise.inject.Alternative CDI annotation.
-
ANY
public static final CdiAnnotations ANY
jakarta.enterprise.inject.Any CDI annotation.
-
DEFAULT
public static final CdiAnnotations DEFAULT
jakarta.enterprise.inject.Default CDI annotation.
-
DISPOSES
public static final CdiAnnotations DISPOSES
jakarta.enterprise.inject.Disposes CDI annotation.
-
MODEL
public static final CdiAnnotations MODEL
jakarta.enterprise.inject.Model CDI annotation.
-
NEW
public static final CdiAnnotations NEW
jakarta.enterprise.inject.New CDI annotation.
-
PRODUCES
public static final CdiAnnotations PRODUCES
jakarta.enterprise.inject.Produces CDI annotation.
-
SPECIALIZES
public static final CdiAnnotations SPECIALIZES
jakarta.enterprise.inject.Specializes CDI annotation.
-
STEREOTYPE
public static final CdiAnnotations STEREOTYPE
jakarta.enterprise.inject.Stereotype CDI annotation.
-
TYPED
public static final CdiAnnotations TYPED
jakarta.enterprise.inject.Typed CDI annotation.
-
-
Field Detail
-
SCOPE
public static final org.jboss.jandex.DotName SCOPE
-
BUILT_IN_SCOPE_NAMES
public static final Set<org.jboss.jandex.DotName> BUILT_IN_SCOPE_NAMES
-
BUILT_IN_SCOPES
public static final Set<AnnotationType> BUILT_IN_SCOPES
-
BEAN_DEFINING_ANNOTATIONS
public static final Set<AnnotationType> BEAN_DEFINING_ANNOTATIONS
-
BEAN_DEFINING_META_ANNOTATIONS
public static final Set<AnnotationType> BEAN_DEFINING_META_ANNOTATIONS
-
-
Method Detail
-
values
public static CdiAnnotations[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CdiAnnotations c : CdiAnnotations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CdiAnnotations valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDotName
public org.jboss.jandex.DotName getDotName()
- Returns:
- fully qualified name
-
getSimpleName
public String getSimpleName()
- Returns:
- simple name
-
-