| java.lang.Object org.xins.common.service.CallConfig
All known Subclasses: org.xins.client.XINSCallConfig, org.xins.common.http.HTTPCallConfig,
CallConfig | public class CallConfig implements Serializable(Code) | | Configuration for a service call. Objects of this type specify certain
aspects of how a call is executed. For example, for an HTTP
service caller, a CallConfig object could specify what HTTP
method (GET, POST, etc.) to use.
This base class only specifies the property failOverAllowed,
which indicates whether fail-over is unconditionally allowed, even if the
request was already received or even processed by the other end.
This class is not thread safe
version: $Revision: 1.28 $ $Date: 2007/09/18 08:45:14 $ author: Ernst de Haan author: Anthony Goubard since: XINS 1.1.0 See Also: ServiceCaller See Also: CallRequest |
Method Summary | |
public String | describe() Describes this configuration. | final public boolean | isFailOverAllowed() Determines whether fail-over is unconditionally allowed. | final public void | setFailOverAllowed(boolean allowed) Configures whether fail-over is unconditionally allowed. | final public String | toString() Returns a textual presentation of this object. |
describe | public String describe()(Code) | | Describes this configuration.
The implementation of this method in class
CallConfig returns
a descriptive string that contains the failOverAllowed setting.
the description of this configuration, should never be null . |
isFailOverAllowed | final public boolean isFailOverAllowed()(Code) | | Determines whether fail-over is unconditionally allowed.
true if fail-over is unconditionally allowed, even ifthe request was already received or even processed by the other end,false otherwise. |
setFailOverAllowed | final public void setFailOverAllowed(boolean allowed)(Code) | | Configures whether fail-over is unconditionally allowed.
Parameters: allowed - true if fail-over is unconditionally allowed, even ifthe request was already received or even processed by the other end,false otherwise. |
toString | final public String toString()(Code) | | Returns a textual presentation of this object.
The implementation of this method in class
CallRequest returns
CallConfig.describe() .
a textual presentation of this object, should never benull . |
|
|