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:
AbstractCxfClientServiceConnector, BusLocalConnector, HttpInvokerConnector

public abstract class AbstractServiceConnector
extends java.lang.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(ServiceInfo serviceInfo)
           
 
Method Summary
protected  void applyClientPolicy(java.lang.Object service)
           
protected  CredentialsSource getCredentialsSource()
           
 ServiceInfo getServiceInfo()
           
protected  java.lang.Object getServiceProxyWithFailureMode(java.lang.Object service, ServiceInfo serviceInfo)
           
 void setCredentialsSource(CredentialsSource credentialsSource)
          Method to set the optional CredentialsSource.
 void setServiceInfo(ServiceInfo serviceInfo)
           
 
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(ServiceInfo serviceInfo)
Method Detail

getServiceInfo

public ServiceInfo getServiceInfo()

setServiceInfo

public void setServiceInfo(ServiceInfo serviceInfo)

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 java.lang.Object getServiceProxyWithFailureMode(java.lang.Object service,
                                                          ServiceInfo serviceInfo)

applyClientPolicy

protected void applyClientPolicy(java.lang.Object service)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.