org.ow2.jonas.webapp.jonasadmin
Enum ServiceName
java.lang.Object
java.lang.Enum<ServiceName>
org.ow2.jonas.webapp.jonasadmin.ServiceName
- All Implemented Interfaces:
- Serializable, Comparable<ServiceName>
public enum ServiceName
- extends Enum<ServiceName>
Method Summary |
String |
getName()
Returns the service name. |
static ServiceName |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ServiceName[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
REGISTRY
public static final ServiceName REGISTRY
JMX
public static final ServiceName JMX
JTM
public static final ServiceName JTM
SECURITY
public static final ServiceName SECURITY
DB
public static final ServiceName DB
MAIL
public static final ServiceName MAIL
WM
public static final ServiceName WM
WC
public static final ServiceName WC
DBM
public static final ServiceName DBM
RESOURCE
public static final ServiceName RESOURCE
CMI
public static final ServiceName CMI
HA
public static final ServiceName HA
VERSIONING
public static final ServiceName VERSIONING
SMARTCLIENT
public static final ServiceName SMARTCLIENT
EJB2
public static final ServiceName EJB2
EJB3
public static final ServiceName EJB3
WEB
public static final ServiceName WEB
EAR
public static final ServiceName EAR
JAXRPC
public static final ServiceName JAXRPC
JAXWS
public static final ServiceName JAXWS
WSDLPUBLISHER
public static final ServiceName WSDLPUBLISHER
WS
public static final ServiceName WS
DEPMONITOR
public static final ServiceName DEPMONITOR
DISCOVERY
public static final ServiceName DISCOVERY
values
public static final ServiceName[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ServiceName c : ServiceName.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ServiceName valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
getName
public String getName()
- Returns the service name.
- Returns:
- the service name
Copyright © 2010 OW2 Consortium. All Rights Reserved.