com.bea.wsrp.consumer.interceptor
Enum Status.OnIOFailure

java.lang.Object
  extended by java.lang.Enum<Status.OnIOFailure>
      extended by com.bea.wsrp.consumer.interceptor.Status.OnIOFailure
All Implemented Interfaces
Serializable, Comparable<Status.OnIOFailure>
Enclosing interface:
Status

public static enum Status.OnIOFailure
extends Enum<Status.OnIOFailure>

The possible return values for the onIOFailure method of an interceptor.


Enum Constant Summary
ABORT_CHAIN
          Skips calling onIOFailure() methods of the subsequent interceptors.
CONTINUE_CHAIN
          Indicates normal execution and continues executing interceptors chain.
HANDLED
          Indicates that an interceptor has handled an I/O failure and populated the response context with the markup for a particular portlet.
RETRY
          Retries the previous WSRP operation.
 
Method Summary
static Status.OnIOFailure valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Status.OnIOFailure[] values()
          Returns an array containing the constants of this enum type, in the order theyre declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONTINUE_CHAIN

public static final Status.OnIOFailure CONTINUE_CHAIN
Indicates normal execution and continues executing interceptors chain.


ABORT_CHAIN

public static final Status.OnIOFailure ABORT_CHAIN
Skips calling onIOFailure() methods of the subsequent interceptors. The consumer will handle the fault.


RETRY

public static final Status.OnIOFailure RETRY
Retries the previous WSRP operation. The number of retry attempts is 1 per I/O failure per WSRP request.

The onIOFailure() methods of subsequent interceptors in the chain are not called.


HANDLED

public static final Status.OnIOFailure HANDLED
Indicates that an interceptor has handled an I/O failure and populated the response context with the markup for a particular portlet. The onIOFailure() methods of subsequent interceptors in the chain are not called.

Method Detail

values

public static final Status.OnIOFailure[] values()
Returns an array containing the constants of this enum type, in the order theyre declared.


valueOf

public static Status.OnIOFailure valueOf(String name)
Returns the enum constant of this type with the specified name.



Copyright © 2011, Oracle. All rights reserved.