org.apache.openejb.client
Enum KeepAliveStyle
java.lang.Object
java.lang.Enum<KeepAliveStyle>
org.apache.openejb.client.KeepAliveStyle
- All Implemented Interfaces:
- Serializable, Comparable<KeepAliveStyle>
public enum KeepAliveStyle
- extends Enum<KeepAliveStyle>
- Version:
- $Rev$ $Date$
Method Summary |
static KeepAliveStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static KeepAliveStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
PING
public static final KeepAliveStyle PING
PING_PONG
public static final KeepAliveStyle PING_PONG
PING_PING
public static final KeepAliveStyle PING_PING
values
public static KeepAliveStyle[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (KeepAliveStyle c : KeepAliveStyle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static KeepAliveStyle 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
NullPointerException
- if the argument is null
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.