com.ibm.websphere.cache.webservices
Interface IdGenerator
- public interface IdGenerator
When implementing this interface, be aware that multiple threads may be using the same IdGenerator concurrently.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getId(javax.xml.rpc.handler.soap.SOAPMessageContext messageContext)
This method is called once on every SOAP request for a cacheable
WebService.
|
Method Detail
getId
- java.lang.String getId(javax.xml.rpc.handler.soap.SOAPMessageContext messageContext)
This method is called once on every SOAP request for a cacheable
WebService. It generates the id that is used as a key by the
cache to identify the SOAP response.
Parameters:
messageContext
- The messageContext object used to access to the SOAP message Returns:
a String uniquely identifying this invocation of a cacheable WebService.