Package 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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAXRPC_EJB21JAXRPC_JSEJAXWS_EJB3JAXWS_JSE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InvocationTypevalueOf(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.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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 nameNullPointerException- if the argument is null
-
-