public enum JGroupsDefaultRequirement extends Enum<JGroupsDefaultRequirement> implements org.wildfly.clustering.service.Requirement, ServiceNameFactoryProvider
Enum Constant and Description |
---|
CHANNEL |
CHANNEL_CLUSTER |
CHANNEL_FACTORY |
CHANNEL_MODULE |
CHANNEL_SOURCE |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
ServiceNameFactory |
getServiceNameFactory() |
Class<?> |
getType() |
static JGroupsDefaultRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JGroupsDefaultRequirement[] |
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
getServiceName, getServiceName
public static final JGroupsDefaultRequirement CHANNEL
public static final JGroupsDefaultRequirement CHANNEL_CLUSTER
public static final JGroupsDefaultRequirement CHANNEL_FACTORY
public static final JGroupsDefaultRequirement CHANNEL_MODULE
public static final JGroupsDefaultRequirement CHANNEL_SOURCE
public static JGroupsDefaultRequirement[] values()
for (JGroupsDefaultRequirement c : JGroupsDefaultRequirement.values()) System.out.println(c);
public static JGroupsDefaultRequirement 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 Class<?> getType()
getType
in interface org.wildfly.clustering.service.Requirement
public ServiceNameFactory getServiceNameFactory()
getServiceNameFactory
in interface ServiceNameFactoryProvider
Copyright © 2019 JBoss by Red Hat. All rights reserved.