org.spicefactory.cinnamon.client
Class SpringServiceChannel

java.lang.Object
  extended by org.spicefactory.cinnamon.client.AbstractServiceChannel
      extended by org.spicefactory.cinnamon.client.SpringServiceChannel
All Implemented Interfaces:
ServiceChannel

public class SpringServiceChannel
extends AbstractServiceChannel

ClientProxyFactory implementation that uses a Spring ApplicationContext to assemble the configuration artifacts from.

Author:
Jens Halm

Constructor Summary
SpringServiceChannel()
           
 
Method Summary
protected  ConfigurationBuilder createBuilder(Resource resource)
          Create a new ConfigurationBuilder instance for the specified Resource.
 
Methods inherited from class org.spicefactory.cinnamon.client.AbstractServiceChannel
configure, createService, getConfig, getHeaderNames, getHeaderValue, getServiceUrl, removeHeader, setConfigResource, setHeader, setServiceUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringServiceChannel

public SpringServiceChannel()
Method Detail

createBuilder

protected ConfigurationBuilder createBuilder(Resource resource)
Description copied from class: AbstractServiceChannel
Create a new ConfigurationBuilder instance for the specified Resource.

Specified by:
createBuilder in class AbstractServiceChannel
Parameters:
resource - the resource to read configuration data from
Returns:
a new ConfigurationBuilder instance