Class AbstractServiceConnector

java.lang.Object
org.kuali.rice.ksb.messaging.serviceconnectors.AbstractServiceConnector
All Implemented Interfaces:
ServiceConnector
Direct Known Subclasses:
BusLocalConnector, HttpInvokerConnector, SOAPConnector

public abstract class AbstractServiceConnector extends Object implements ServiceConnector
Abstract implementation of the ServiceConnector that holds the ServiceInfo and the CredentialsSource as well as providing convenience proxy methods.
Since:
0.9
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • AbstractServiceConnector

      public AbstractServiceConnector(ServiceConfiguration serviceConfiguration)
    • AbstractServiceConnector

      public AbstractServiceConnector(ServiceConfiguration serviceConfiguration, URL alternateEndpointUrl)
  • Method Details

    • getActualEndpointUrl

      public URL getActualEndpointUrl()
    • getServiceConfiguration

      public ServiceConfiguration getServiceConfiguration()
    • setCredentialsSource

      public void setCredentialsSource(CredentialsSource credentialsSource)
      Description copied from interface: ServiceConnector
      Method to set the optional CredentialsSource. A ServiceConnector is free to use the CredentialsSource to provide credentials to a remote service.
      Specified by:
      setCredentialsSource in interface ServiceConnector
    • getCredentialsSource

      protected CredentialsSource getCredentialsSource()
    • getServiceProxyWithFailureMode

      protected Object getServiceProxyWithFailureMode(Object service, ServiceConfiguration serviceConfiguration)