org.kuali.rice.ksb.messaging.serviceconnectors
Class AbstractServiceConnector

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.serviceconnectors.AbstractServiceConnector
All Implemented Interfaces:
ServiceConnector
Direct Known Subclasses:
BusLocalConnector, HttpInvokerConnector, RESTConnector, 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 Summary
AbstractServiceConnector(ServiceConfiguration serviceConfiguration)
           
AbstractServiceConnector(ServiceConfiguration serviceConfiguration, URL alternateEndpointUrl)
           
 
Method Summary
 URL getActualEndpointUrl()
           
protected  CredentialsSource getCredentialsSource()
           
 ServiceConfiguration getServiceConfiguration()
           
protected  Object getServiceProxyWithFailureMode(Object service, ServiceConfiguration serviceConfiguration)
           
 void setCredentialsSource(CredentialsSource credentialsSource)
          Method to set the optional CredentialsSource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.ksb.messaging.serviceconnectors.ServiceConnector
getService
 

Constructor Detail

AbstractServiceConnector

public AbstractServiceConnector(ServiceConfiguration serviceConfiguration)

AbstractServiceConnector

public AbstractServiceConnector(ServiceConfiguration serviceConfiguration,
                                URL alternateEndpointUrl)
Method Detail

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)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.