Skip navigation links
oracle.webservices.annotations
Enum Conversational.AccessMode
java.lang.Object
java.lang.Enum<Conversational.AccessMode>
oracle.webservices.annotations.Conversational.AccessMode
- All Implemented Interfaces:
- Serializable, Comparable<Conversational.AccessMode>
- Enclosing class:
- Conversational
-
public static enum Conversational.AccessMode
- extends Enum<Conversational.AccessMode>
The access mode of a JAX-WS service endpoint implementation bean instance.
Enum Constant Summary |
Concurrent
Each service endpoint implementation bean instance can have multiple threads processing messages concurrently. |
Synchronized
Each service endpoint implementation bean instance is allowed to have a maximum of one thread processing a messages at a time. |
Concurrent
public static final Conversational.AccessMode Concurrent
- Each service endpoint implementation bean instance can have multiple threads processing messages concurrently. The service endpoint implementation bean must be thread-safe to use this concurrent access mode.
Synchronized
public static final Conversational.AccessMode Synchronized
- Each service endpoint implementation bean instance is allowed to have a maximum of one thread processing a messages at a time. Other concurrent clients wishing to access the same endpoint instance must block until the outstanding request processing being finished by the instance.
values
public static Conversational.AccessMode[] 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 (Conversational.AccessMode c : Conversational.AccessMode.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static Conversational.AccessMode 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
Skip navigation links