public static enum DefaultSpringContainerAccessor.AutowireStrategy extends Enum<DefaultSpringContainerAccessor.AutowireStrategy>
| Enum Constant and Description |
|---|
AUTOWIRE_AUTODETECT
Deprecated.
in 5.0 for removal in 6.0
|
AUTOWIRE_BY_CONSTRUCTOR
Performs construction-based injection by type
|
AUTOWIRE_BY_NAME
Performs setter-based injection by name
|
AUTOWIRE_BY_TYPE
Performs setter-based injection by type
|
AUTOWIRE_NO |
| Modifier and Type | Method and Description |
|---|---|
static DefaultSpringContainerAccessor.AutowireStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultSpringContainerAccessor.AutowireStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultSpringContainerAccessor.AutowireStrategy AUTOWIRE_NO
public static final DefaultSpringContainerAccessor.AutowireStrategy AUTOWIRE_BY_NAME
public static final DefaultSpringContainerAccessor.AutowireStrategy AUTOWIRE_BY_TYPE
public static final DefaultSpringContainerAccessor.AutowireStrategy AUTOWIRE_BY_CONSTRUCTOR
@Deprecated public static final DefaultSpringContainerAccessor.AutowireStrategy AUTOWIRE_AUTODETECT
public static DefaultSpringContainerAccessor.AutowireStrategy[] values()
for (DefaultSpringContainerAccessor.AutowireStrategy c : DefaultSpringContainerAccessor.AutowireStrategy.values()) System.out.println(c);
public static DefaultSpringContainerAccessor.AutowireStrategy 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 © 2019 Atlassian. All rights reserved.