|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.common.service.CallRequest
Abstraction of a request for a ServiceCaller
call. Specific
service callers typically only accept a single type of request, derived
from this class.
This class is not thread-safe.
Implementations of this class should stick to the following rules:
describe()
method must be implemented;
CallConfig
).
ServiceCaller
,
Serialized FormConstructor Summary | |
protected |
CallRequest()
Constructs a new CallRequest . |
Method Summary | |
abstract String |
describe()
Describes this request. |
protected CallConfig |
getCallConfig()
Retrieves the associated call configuration, if any. |
protected void |
setCallConfig(CallConfig config)
Sets the call configuration associated with this request. |
String |
toString()
Returns a textual presentation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected CallRequest()
CallRequest
. This constructor is only
available to subclasses, since this class is abstract
.
Method Detail |
public abstract String describe()
"LDAP request #1592"
and "request #12903"
.
null
,
should never be empty and should never start or end with whitespace
characters.public String toString()
The implementation of this method in class CallRequest
returns describe()
.
null
.protected final CallConfig getCallConfig()
null
if none is.protected final void setCallConfig(CallConfig config)
config
- the call configuration to associate with this request, or
null
if none should be.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |