public enum SingletonCacheRequirement extends Enum<SingletonCacheRequirement> implements org.wildfly.clustering.service.DefaultableBinaryRequirement
Enum Constant and Description |
---|
SINGLETON_SERVICE_BUILDER_FACTORY
Deprecated.
|
SINGLETON_SERVICE_CONFIGURATOR_FACTORY |
Modifier and Type | Method and Description |
---|---|
org.wildfly.clustering.service.UnaryRequirement |
getDefaultRequirement() |
String |
getName() |
static SingletonCacheRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SingletonCacheRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final SingletonCacheRequirement SINGLETON_SERVICE_BUILDER_FACTORY
public static final SingletonCacheRequirement SINGLETON_SERVICE_CONFIGURATOR_FACTORY
public static SingletonCacheRequirement[] values()
for (SingletonCacheRequirement c : SingletonCacheRequirement.values()) System.out.println(c);
public static SingletonCacheRequirement 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 nullpublic String getName()
getName
in interface org.wildfly.clustering.service.Requirement
public org.wildfly.clustering.service.UnaryRequirement getDefaultRequirement()
getDefaultRequirement
in interface org.wildfly.clustering.service.DefaultableBinaryRequirement
Copyright © 2019 JBoss by Red Hat. All rights reserved.