public enum SingletonServiceNameFactory extends Enum<SingletonServiceNameFactory> implements org.jboss.as.clustering.controller.DefaultableUnaryServiceNameFactoryProvider
| Enum Constant and Description |
|---|
LEGACY_SINGLETON_POLICY
Deprecated.
|
SINGLETON_POLICY |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.as.clustering.controller.ServiceNameFactory |
getDefaultServiceNameFactory() |
org.jboss.as.clustering.controller.UnaryServiceNameFactory |
getServiceNameFactory() |
static SingletonServiceNameFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SingletonServiceNameFactory[] |
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@Deprecated public static final SingletonServiceNameFactory LEGACY_SINGLETON_POLICY
public static final SingletonServiceNameFactory SINGLETON_POLICY
public static SingletonServiceNameFactory[] values()
for (SingletonServiceNameFactory c : SingletonServiceNameFactory.values()) System.out.println(c);
public static SingletonServiceNameFactory 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 org.jboss.as.clustering.controller.UnaryServiceNameFactory getServiceNameFactory()
getServiceNameFactory in interface org.jboss.as.clustering.controller.UnaryServiceNameFactoryProviderpublic org.jboss.as.clustering.controller.ServiceNameFactory getDefaultServiceNameFactory()
getDefaultServiceNameFactory in interface org.jboss.as.clustering.controller.DefaultableUnaryServiceNameFactoryProviderCopyright © 2020 JBoss by Red Hat. All rights reserved.