public enum DiscoveryMode extends Enum<DiscoveryMode>
Enum Constant and Description |
---|
AUTO
This mode means that the service discovery will be performed automatically via registry.
|
MANUAL
This mode means that the service discovery will be tied to a named reference submitted to the stub.
|
Modifier and Type | Method and Description |
---|---|
static DiscoveryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscoveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscoveryMode AUTO
public static final DiscoveryMode MANUAL
public static DiscoveryMode[] values()
for (DiscoveryMode c : DiscoveryMode.values()) System.out.println(c);
public static DiscoveryMode 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 nullCopyright © 2010-2014 anotheria.net. All Rights Reserved.