public enum SingletonServiceNameFactory extends Enum<SingletonServiceNameFactory> implements DefaultableUnaryServiceNameFactoryProvider
| Enum Constant and Description |
|---|
LEGACY_SINGLETON_POLICY
Deprecated.
|
SINGLETON_POLICY |
| Modifier and Type | Method and Description |
|---|---|
ServiceNameFactory |
getDefaultServiceNameFactory() |
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, valueOfgetServiceName, getServiceNamegetServiceName@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 UnaryServiceNameFactory getServiceNameFactory()
getServiceNameFactory in interface UnaryServiceNameFactoryProviderpublic ServiceNameFactory getDefaultServiceNameFactory()
getDefaultServiceNameFactory in interface DefaultableUnaryServiceNameFactoryProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.