public static enum ServiceDescriptor.Protocol extends Enum<ServiceDescriptor.Protocol>
Enum Constant and Description |
---|
CORBA
CORBA.
|
JAXRS
Jax Rest Service.
|
JAXWS
JAXWS aka WebService.
|
JSONRPC
JSON-PRC.
|
RMI
RMI
|
Modifier and Type | Method and Description |
---|---|
static ServiceDescriptor.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceDescriptor.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceDescriptor.Protocol RMI
public static final ServiceDescriptor.Protocol JAXWS
public static final ServiceDescriptor.Protocol CORBA
public static final ServiceDescriptor.Protocol JSONRPC
public static final ServiceDescriptor.Protocol JAXRS
public static ServiceDescriptor.Protocol[] values()
for (ServiceDescriptor.Protocol c : ServiceDescriptor.Protocol.values()) System.out.println(c);
public static ServiceDescriptor.Protocol 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.