public interface DirectCallRegistry
This registry serves for saving call parameters. Registry is initialized in root application context and therefore it's accessible from both child (sibling) application contexts.
There is the following procedure:
inserts to registry call parameters under unique identifier
getting call parameters
removes parameters for the call
Modifier and Type | Method and Description |
---|---|
void |
addParams(String callId,
DirectCallParams params)
Adds new parameters under specified call ID.
|
DirectCallParams |
getParams(String callId)
Gets call parameters.
|
void |
removeParams(String callId)
Removes call parameters for specified call ID.
|
void addParams(String callId, DirectCallParams params)
callId
- the call identifierparams
- call parametersDirectCallParams getParams(String callId)
callId
- the call identifierIllegalArgumentException
- when there are no call parameters for specified call IDvoid removeParams(String callId)
callId
- the call identifierCopyright © 2018 Pivotal Software, Inc.. All rights reserved.