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

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

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

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


Enum Constant Summary
ABORT_CHAIN
          Skips calling onFault() methods of the subsequent interceptors.
CONTINUE_CHAIN
          Indicates normal execution and continues executing interceptors chain.
HANDLED
          Indicates that an interceptor has handled a fault and populated the response context with the markup for a particular portlet.
RETRY
          Retries the previous WSRP operation.
 
Method Summary
static Status.OnFault valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Status.OnFault[] 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.OnFault CONTINUE_CHAIN
Indicates normal execution and continues executing interceptors chain.


ABORT_CHAIN

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


RETRY

public static final Status.OnFault RETRY
Retries the previous WSRP operation. The number of retry attempts is 1 per fault per WSRP request.

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


HANDLED

public static final Status.OnFault HANDLED
Indicates that an interceptor has handled a fault and populated the response context with the markup for a particular portlet. The onFault() methods of subsequent interceptors in the chain are not called.

Method Detail

values

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


valueOf

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



Copyright © 2011, Oracle. All rights reserved.