public enum JGroupsRequirement extends Enum<JGroupsRequirement> implements org.wildfly.clustering.service.DefaultableUnaryRequirement, DefaultableUnaryServiceNameFactoryProvider
Enum Constant and Description |
---|
CHANNEL |
CHANNEL_CLUSTER |
CHANNEL_FACTORY |
CHANNEL_MODULE |
CHANNEL_SOURCE |
Modifier and Type | Method and Description |
---|---|
org.wildfly.clustering.service.Requirement |
getDefaultRequirement() |
ServiceNameFactory |
getDefaultServiceNameFactory() |
String |
getName() |
UnaryServiceNameFactory |
getServiceNameFactory() |
static JGroupsRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JGroupsRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getType, resolve
getServiceName, getServiceName
public static final JGroupsRequirement CHANNEL
public static final JGroupsRequirement CHANNEL_CLUSTER
public static final JGroupsRequirement CHANNEL_FACTORY
public static final JGroupsRequirement CHANNEL_MODULE
public static final JGroupsRequirement CHANNEL_SOURCE
public static JGroupsRequirement[] values()
for (JGroupsRequirement c : JGroupsRequirement.values()) System.out.println(c);
public static JGroupsRequirement 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.Requirement getDefaultRequirement()
getDefaultRequirement
in interface org.wildfly.clustering.service.DefaultableUnaryRequirement
public UnaryServiceNameFactory getServiceNameFactory()
getServiceNameFactory
in interface UnaryServiceNameFactoryProvider
public ServiceNameFactory getDefaultServiceNameFactory()
getDefaultServiceNameFactory
in interface DefaultableUnaryServiceNameFactoryProvider
Copyright © 2019 JBoss by Red Hat. All rights reserved.