Package com.atlassian.plugin.osgi.spring
Enum Class DefaultSpringContainerAccessor.AutowireStrategy
java.lang.Object
java.lang.Enum<DefaultSpringContainerAccessor.AutowireStrategy>
com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor.AutowireStrategy
- All Implemented Interfaces:
Serializable,Comparable<DefaultSpringContainerAccessor.AutowireStrategy>,Constable
- Enclosing class:
- DefaultSpringContainerAccessor
@Deprecated
public static enum DefaultSpringContainerAccessor.AutowireStrategy
extends Enum<DefaultSpringContainerAccessor.AutowireStrategy>
Deprecated.
in 5.0 for removal in 6.0, without a replacement
The autowire strategy to use when creating and wiring a bean
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Autodetects appropriate injection by first seeing if any no-arg constructors exist.Deprecated.Performs construction-based injection by typeDeprecated.Performs setter-based injection by nameDeprecated.Performs setter-based injection by typeDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the enum constant of this class with the specified name.values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOWIRE_NO
Deprecated. -
AUTOWIRE_BY_NAME
Deprecated.Performs setter-based injection by name -
AUTOWIRE_BY_TYPE
Deprecated.Performs setter-based injection by type -
AUTOWIRE_BY_CONSTRUCTOR
Deprecated.Performs construction-based injection by type -
AUTOWIRE_AUTODETECT
Deprecated.Autodetects appropriate injection by first seeing if any no-arg constructors exist. If not, performs constructor injection, and if so, autowires by type then name
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-