commonj.connector.metadata.description
Interface FaultDescription


public interface FaultDescription

Since:
1.1 The interface allowing Resoruce Adapter implementation of the service discovery to describe faults that can be returned by the target services. If faults are supported, the interface should be implemented by the object implementing OutbondFunctionDescription interface.

Method Summary
 FaultDataDescription[] getFaultDataDescriptions()
           
 String getFaultSelectorClassname()
          Get the name of the class implementing FaultSelector interface.
 

Method Detail

getFaultDataDescriptions

FaultDataDescription[] getFaultDataDescriptions()
Returns:
Array of fault descriptions. The array must have at least one element. If the array has only one element, the getFaultSelector method can return null.

getFaultSelectorClassname

String getFaultSelectorClassname()
Get the name of the class implementing FaultSelector interface. This method can return null only if the size of the array returned by the getFaultDataDescriptions() is 1.

Returns:
The fully qualified name of the class implementing FaultSelector interface.