Class AbstractServiceConnector
java.lang.Object
org.kuali.rice.ksb.messaging.serviceconnectors.AbstractServiceConnector
- All Implemented Interfaces:
ServiceConnector
- Direct Known Subclasses:
BusLocalConnector,HttpInvokerConnector,SOAPConnector
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
ConstructorsConstructorDescriptionAbstractServiceConnector(ServiceConfiguration serviceConfiguration) AbstractServiceConnector(ServiceConfiguration serviceConfiguration, URL alternateEndpointUrl) -
Method Summary
Modifier and TypeMethodDescriptionprotected CredentialsSourceprotected ObjectgetServiceProxyWithFailureMode(Object service, ServiceConfiguration serviceConfiguration) voidsetCredentialsSource(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, waitMethods inherited from interface org.kuali.rice.ksb.messaging.serviceconnectors.ServiceConnector
getService
-
Constructor Details
-
AbstractServiceConnector
-
AbstractServiceConnector
public AbstractServiceConnector(ServiceConfiguration serviceConfiguration, URL alternateEndpointUrl)
-
-
Method Details
-
getActualEndpointUrl
-
getServiceConfiguration
-
setCredentialsSource
Description copied from interface:ServiceConnectorMethod to set the optional CredentialsSource. A ServiceConnector is free to use the CredentialsSource to provide credentials to a remote service.- Specified by:
setCredentialsSourcein interfaceServiceConnector
-
getCredentialsSource
-
getServiceProxyWithFailureMode
protected Object getServiceProxyWithFailureMode(Object service, ServiceConfiguration serviceConfiguration)
-