public enum BeanDiscoveryMode extends java.lang.Enum<BeanDiscoveryMode>
bean-discovery-mode attribute within beans.xml. If a
beans.xml file does not contain the bean-discovery-mode attribute, the value defaults to
ALL.| Enum Constant and Description |
|---|
ALL
All types in the archive will be considered.
|
ANNOTATED
Only those types with bean defining annotations will be considered.
|
NONE
This archive will be ignored.
|
| Modifier and Type | Method and Description |
|---|---|
static BeanDiscoveryMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeanDiscoveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanDiscoveryMode NONE
public static final BeanDiscoveryMode ANNOTATED
public static final BeanDiscoveryMode ALL
public static BeanDiscoveryMode[] values()
for (BeanDiscoveryMode c : BeanDiscoveryMode.values()) System.out.println(c);
public static BeanDiscoveryMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2015. All Rights Reserved.