public enum SingletonServiceName extends Enum<SingletonServiceName> implements org.wildfly.clustering.service.SubGroupServiceNameFactory
Enum Constant and Description |
---|
BUILDER |
Modifier and Type | Method and Description |
---|---|
ServiceName |
getServiceName(String containerName) |
static SingletonServiceName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SingletonServiceName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SingletonServiceName BUILDER
public static SingletonServiceName[] values()
for (SingletonServiceName c : SingletonServiceName.values()) System.out.println(c);
public static SingletonServiceName 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 ServiceName getServiceName(String containerName)
getServiceName
in interface org.wildfly.clustering.service.GroupServiceNameFactory
Copyright © 2016 JBoss by Red Hat. All rights reserved.