public interface FaultSelector
extends commonj.connector.runtime.BindingContext
Modifier and Type | Interface and Description |
---|---|
static class |
FaultSelector.ResponseType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
BINDING_COMMUNICATION, BINDING_COMMUNICATION_INBOUND, BINDING_COMMUNICATION_OUTBOUND, BINDING_CONFIGURATION, BINDING_INVOCATION, BINDING_INVOCATION_FAULT, BINDING_INVOCATION_REQUEST, BINDING_INVOCATION_RESPONSE, BINDING_NAME, BINDING_REGISTRY, BINDING_TYPE, BINDING_TYPE_EIS, BINDING_TYPE_HTTP, BINDING_TYPE_JMS, EXPECTED_TYPE, INTERACTION_SPEC
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFaultName(java.lang.Object source)
Gets the native fault name from the headers from the context or from the
source Object
|
FaultSelector.ResponseType |
getResponseType(java.lang.Object source)
This method looks at the source object or headers from the context to
determine if the response is fault or not.
|
static final java.lang.String COPYRIGHT
FaultSelector.ResponseType getResponseType(java.lang.Object source)
source
- This can be of type InputStream, Reader or Java Object like an
exception Object.java.lang.String getFaultName(java.lang.Object source)
source
- This can be either InputStream, Reader or Java Object like an
Exception Object