Class JaxWsClientFactory<AuditDatasetType extends WsAuditDataset>

java.lang.Object
org.openehealth.ipf.commons.ihe.ws.JaxWsClientFactory<AuditDatasetType>
Direct Known Subclasses:
Hl7v3DeferredResponderFactory, JaxWsRequestClientFactory

public class JaxWsClientFactory<AuditDatasetType extends WsAuditDataset> extends Object
Factory for ITI Web Service stubs.
Author:
Jens Riemschneider
  • Field Details

  • Constructor Details

  • Method Details

    • getClient

      public Object getClient()
      Returns a client stub for the web-service.
      Returns:
      the client stub
    • getWsTransactionConfiguration

      public WsTransactionConfiguration<AuditDatasetType> getWsTransactionConfiguration()
      Returns:
      the service info of this factory.
    • configureInterceptors

      protected void configureInterceptors(Client client)
      Configures SOAP interceptors for the given client.
    • configureProperties

      protected void configureProperties(Client client)
    • installPayloadInterceptors

      protected static void installPayloadInterceptors(Client client)
      Helper method for installing of payload-collecting SOAP interceptors for the given Client.
    • restoreClient

      public void restoreClient(Object client)
      Returns a client stub (previously gained via getClient()) to the pool. This method MUST be called as soon as the use of the port stub is finished.
      Parameters:
      client - client stub, null values are safe.