Skip navigation links

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

E10654-02


oracle.webservices.async
Enum AsyncConfig.WireStyle

java.lang.Object
  extended by java.lang.Enum<AsyncConfig.WireStyle>
      extended by oracle.webservices.async.AsyncConfig.WireStyle

All Implemented Interfaces:
Serializable, Comparable<AsyncConfig.WireStyle>
Enclosing interface:
AsyncConfig

public static enum AsyncConfig.WireStyle
extends Enum<AsyncConfig.WireStyle>

Enum Constant Summary
CALLBACK
          The wire style is callback meaning the container will create a replyTo with a unique EPR for the caller.
POLLING
          The wire style is polling meaning that the container will create a replyTo with the WS-Polling holdit URI.
UNSPECIFIED
          When the user does not care what happens over the wire to support asynchronous invocations they can set the wire style to unspecified.

 

Method Summary
static AsyncConfig.WireStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AsyncConfig.WireStyle[] 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

UNSPECIFIED

public static final AsyncConfig.WireStyle UNSPECIFIED
When the user does not care what happens over the wire to support asynchronous invocations they can set the wire style to unspecified. It is the responsibility of the webservice container to determine which styles the remote server can support and construct the addressing headers with a wire style supported by the server.

CALLBACK

public static final AsyncConfig.WireStyle CALLBACK
The wire style is callback meaning the container will create a replyTo with a unique EPR for the caller. If the client is using the polling APIs the container will make the polled response available to the caller after it receives the callback response.

POLLING

public static final AsyncConfig.WireStyle POLLING
The wire style is polling meaning that the container will create a replyTo with the WS-Polling holdit URI. If the client is using a callback API the container must periodically poll the server for a response and the registered callback will be invoked when the server returns the polled response.

Method Detail

values

public static AsyncConfig.WireStyle[] 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 (AsyncConfig.WireStyle c : AsyncConfig.WireStyle.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AsyncConfig.WireStyle 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.