Package org.wildfly.clustering.singleton
Enum SingletonDefaultRequirement
java.lang.Object
java.lang.Enum<SingletonDefaultRequirement>
org.wildfly.clustering.singleton.SingletonDefaultRequirement
- All Implemented Interfaces:
Serializable,Comparable<SingletonDefaultRequirement>,Requirement
@Deprecated(forRemoval=true)
public enum SingletonDefaultRequirement
extends Enum<SingletonDefaultRequirement>
implements Requirement
Deprecated, for removal: This API element is subject to removal in a future version.
Enumerates capability requirements for default singleton resources
- Author:
- Paul Ferraro
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated, for removal: This API element is subject to removal in a future version.UseSingletonPolicy.DEFAULT_SERVICE_DESCRIPTORinstead. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Deprecated, for removal: This API element is subject to removal in a future version.Class<?>getType()Deprecated, for removal: This API element is subject to removal in a future version.static SingletonDefaultRequirementDeprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static SingletonDefaultRequirement[]values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SINGLETON_POLICY
Deprecated, for removal: This API element is subject to removal in a future version.UseSingletonPolicy.DEFAULT_SERVICE_DESCRIPTORinstead. -
POLICY
Deprecated.UseSingletonPolicy.DEFAULT_SERVICE_DESCRIPTORinstead.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNamein interfaceRequirement
-
getType
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getTypein interfaceRequirement
-
SingletonPolicy.DEFAULT_SERVICE_DESCRIPTORinstead.