com.ibm.websphere.cache.webservices

Interface IdGenerator



  • public interface IdGenerator
    The IdGenerator is responsible for generating cache entry ids, dependency ids or invalidation ids. These ids are used by WebService client cache.

    When implementing this interface, be aware that multiple threads may be using the same IdGenerator concurrently.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String 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.
IBM WebSphere Application ServerTM
Release 9.0