org.jboss.wsf.spi.invocation
Enum InvocationType
java.lang.Object
java.lang.Enum<InvocationType>
org.jboss.wsf.spi.invocation.InvocationType
- All Implemented Interfaces:
- Serializable, Comparable<InvocationType>
public enum InvocationType
- extends Enum<InvocationType>
Known invocation types.
- Author:
- Heiko.Braun@jboss.com, Richard Opalka
|
Method Summary |
static InvocationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InvocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
JAXWS_JSE
public static final InvocationType JAXWS_JSE
JAXWS_EJB3
public static final InvocationType JAXWS_EJB3
JAXRPC_JSE
public static final InvocationType JAXRPC_JSE
JAXRPC_EJB21
public static final InvocationType JAXRPC_EJB21
values
public static InvocationType[] 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 (InvocationType c : InvocationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static InvocationType 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 © 2012 JBoss, by Red Hat. All Rights Reserved.