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 theDotName
s of CDI annotations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTERNATIVE
javax.enterprise.inject.Alternative CDI annotation.ANY
javax.enterprise.inject.Any CDI annotation.APP_SCOPED
javax.enterprise.context.ApplicationScoped CDI annotation.CONV_SCOPED
javax.enterprise.context.ConversationScoped CDI annotation.DECORATOR
javax.decorator.Decorator CDI annotation.DEFAULT
javax.enterprise.inject.Default CDI annotation.DELEGATE
javax.decorator.Delegate CDI annotation.DEPENDENT
javax.enterprise.context.Dependent CDI annotation.DISPOSES
javax.enterprise.inject.Disposes CDI annotation.MODEL
javax.enterprise.inject.Model CDI annotation.NEW
javax.enterprise.inject.New CDI annotation.NORM_SCOPE
javax.enterprise.context.NormalScope CDI annotation.OBSERVES
javax.enterprise.event.Observes CDI annotation.PRODUCES
javax.enterprise.inject.Produces CDI annotation.REQ_SCOPED
javax.enterprise.context.RequestScoped CDI annotation.SESS_SCOPED
javax.enterprise.context.SessionScoped CDI annotation.SINGLETON
javax.inject.Singleton annotation.SPECIALIZES
javax.enterprise.inject.Specializes CDI annotation.STEREOTYPE
javax.enterprise.inject.Stereotype CDI annotation.TYPED
javax.enterprise.inject.Typed CDI annotation.
-
Field Summary
Fields Modifier and Type Field Description static Set<AnnotationType>
BEAN_DEFINING_ANNOTATIONS
static Set<AnnotationType>
BEAN_DEFINING_META_ANNOTATIONS
static Set<org.jboss.jandex.DotName>
BUILT_IN_SCOPE_NAMES
static Set<AnnotationType>
BUILT_IN_SCOPES
static org.jboss.jandex.DotName
SCOPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.jandex.DotName
getDotName()
String
getSimpleName()
static CdiAnnotations
valueOf(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
javax.decorator.Decorator CDI annotation.
-
DELEGATE
public static final CdiAnnotations DELEGATE
javax.decorator.Delegate CDI annotation.
-
APP_SCOPED
public static final CdiAnnotations APP_SCOPED
javax.enterprise.context.ApplicationScoped CDI annotation.
-
CONV_SCOPED
public static final CdiAnnotations CONV_SCOPED
javax.enterprise.context.ConversationScoped CDI annotation.
-
REQ_SCOPED
public static final CdiAnnotations REQ_SCOPED
javax.enterprise.context.RequestScoped CDI annotation.
-
SESS_SCOPED
public static final CdiAnnotations SESS_SCOPED
javax.enterprise.context.SessionScoped CDI annotation.
-
NORM_SCOPE
public static final CdiAnnotations NORM_SCOPE
javax.enterprise.context.NormalScope CDI annotation.
-
DEPENDENT
public static final CdiAnnotations DEPENDENT
javax.enterprise.context.Dependent CDI annotation.
-
SINGLETON
public static final CdiAnnotations SINGLETON
javax.inject.Singleton annotation.
-
OBSERVES
public static final CdiAnnotations OBSERVES
javax.enterprise.event.Observes CDI annotation.
-
ALTERNATIVE
public static final CdiAnnotations ALTERNATIVE
javax.enterprise.inject.Alternative CDI annotation.
-
ANY
public static final CdiAnnotations ANY
javax.enterprise.inject.Any CDI annotation.
-
DEFAULT
public static final CdiAnnotations DEFAULT
javax.enterprise.inject.Default CDI annotation.
-
DISPOSES
public static final CdiAnnotations DISPOSES
javax.enterprise.inject.Disposes CDI annotation.
-
MODEL
public static final CdiAnnotations MODEL
javax.enterprise.inject.Model CDI annotation.
-
NEW
public static final CdiAnnotations NEW
javax.enterprise.inject.New CDI annotation.
-
PRODUCES
public static final CdiAnnotations PRODUCES
javax.enterprise.inject.Produces CDI annotation.
-
SPECIALIZES
public static final CdiAnnotations SPECIALIZES
javax.enterprise.inject.Specializes CDI annotation.
-
STEREOTYPE
public static final CdiAnnotations STEREOTYPE
javax.enterprise.inject.Stereotype CDI annotation.
-
TYPED
public static final CdiAnnotations TYPED
javax.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
-
-