org.kuali.rice.ksb.messaging.serviceconnectors
Class AbstractServiceConnector
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractServiceConnector
public AbstractServiceConnector(ServiceConfiguration serviceConfiguration)
AbstractServiceConnector
public AbstractServiceConnector(ServiceConfiguration serviceConfiguration,
URL alternateEndpointUrl)
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.