public enum WebBeansType extends Enum<WebBeansType>
Bean Implementation Class Components are defined with annotating the ordinary
classes with OwbBean
annotation. 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 OwbBean
annotation. In these classes, there are methods that
are annotated with Produces
annotation.
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.
Enum Constant and Description |
---|
CONVERSATION |
DECORATOR |
DEPENDENT |
ENTERPRISE |
EXTENSION |
INJECTIONPOINT |
INSTANCE |
INTERCEPTOR |
JMS |
MANAGED |
MANAGER |
METADATA |
NEW |
OBSERVABLE |
PRINCIPAL |
PRODUCERFIELD |
PRODUCERMETHOD |
RESOURCEBEAN |
THIRDPARTY |
USERTRANSACTION |
VALIDATION |
VALIDATIONFACT |
Modifier and Type | Method and Description |
---|---|
static WebBeansType |
valueOf(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.
|
public static final WebBeansType MANAGED
public static final WebBeansType PRODUCERMETHOD
public static final WebBeansType PRODUCERFIELD
public static final WebBeansType RESOURCEBEAN
public static final WebBeansType NEW
public static final WebBeansType ENTERPRISE
public static final WebBeansType JMS
public static final WebBeansType DEPENDENT
public static final WebBeansType INTERCEPTOR
public static final WebBeansType DECORATOR
public static final WebBeansType OBSERVABLE
public static final WebBeansType MANAGER
public static final WebBeansType CONVERSATION
public static final WebBeansType INSTANCE
public static final WebBeansType INJECTIONPOINT
public static final WebBeansType THIRDPARTY
public static final WebBeansType EXTENSION
public static final WebBeansType USERTRANSACTION
public static final WebBeansType PRINCIPAL
public static final WebBeansType VALIDATIONFACT
public static final WebBeansType VALIDATION
public static final WebBeansType METADATA
public static WebBeansType[] values()
for (WebBeansType c : WebBeansType.values()) System.out.println(c);
public static WebBeansType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.