public enum BeanDiscoveryMode extends 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(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(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-2015. All Rights Reserved.