Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.annotations
Enum Conversational.AccessMode

java.lang.Object
  extended by java.lang.Enum<Conversational.AccessMode>
      extended by 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.

 

Method Summary
static Conversational.AccessMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Conversational.AccessMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

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.

Method Detail

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

Copyright © 2006, 2009 Oracle. All Rights Reserved.