Package org.apache.webbeans.component
Enum WebBeansType
- java.lang.Object
-
- java.lang.Enum<WebBeansType>
-
- org.apache.webbeans.component.WebBeansType
-
- All Implemented Interfaces:
Serializable,Comparable<WebBeansType>
public enum WebBeansType extends Enum<WebBeansType>
There are different Web Beans Component with regard to the definition. These are the;- Bean Implementation Class Components
- Producer Method Components
Bean Implementation Class Components are defined with annotating the ordinary classes with
OwbBeanannotation. It maybe defined within the web-beans.xml file using <class> element. It is possible to mix these two definitions.Producer Method Components are defined within the class that is annotated with
OwbBeanannotation. In these classes, there are methods that are annotated withProducesannotation. These methods become the producer method components of this web beans component. It maybe defined using the web-beans.xml file using the <producer> element. It is possible to mix these two definitons.For further details about the components, see Web Beans Specification Chapter-2.
- Version:
- $Rev$ $Date$
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WebBeansTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WebBeansType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANAGED
public static final WebBeansType MANAGED
-
CONFIGURED
public static final WebBeansType CONFIGURED
-
PRODUCERMETHOD
public static final WebBeansType PRODUCERMETHOD
-
PRODUCERFIELD
public static final WebBeansType PRODUCERFIELD
-
RESOURCEBEAN
public static final WebBeansType RESOURCEBEAN
-
NEW
public static final WebBeansType NEW
-
ENTERPRISE
public static final WebBeansType ENTERPRISE
-
JMS
public static final WebBeansType JMS
-
DEPENDENT
public static final WebBeansType DEPENDENT
-
INTERCEPTOR
public static final WebBeansType INTERCEPTOR
-
DECORATOR
public static final WebBeansType DECORATOR
-
OBSERVABLE
public static final WebBeansType OBSERVABLE
-
MANAGER
public static final WebBeansType MANAGER
-
CONVERSATION
public static final WebBeansType CONVERSATION
-
INSTANCE
public static final WebBeansType INSTANCE
-
INJECTIONPOINT
public static final WebBeansType INJECTIONPOINT
-
THIRDPARTY
public static final WebBeansType THIRDPARTY
-
EXTENSION
public static final WebBeansType EXTENSION
-
USERTRANSACTION
public static final WebBeansType USERTRANSACTION
-
PRINCIPAL
public static final WebBeansType PRINCIPAL
-
VALIDATIONFACT
public static final WebBeansType VALIDATIONFACT
-
VALIDATION
public static final WebBeansType VALIDATION
-
METADATA
public static final WebBeansType METADATA
-
SERVLET_CONTEXT
public static final WebBeansType SERVLET_CONTEXT
-
SERVLET_REQUEST
public static final WebBeansType SERVLET_REQUEST
-
INTERCEPTIONFACTORY
public static final WebBeansType INTERCEPTIONFACTORY
-
-
Method Detail
-
values
public static WebBeansType[] 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 (WebBeansType c : WebBeansType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebBeansType 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
-
-