org.gcube.common.clients.fw.builders
Class SingletonBuilderImpl<S,P>
java.lang.Object
org.gcube.common.clients.builders.AbstractBuilder<A,S,P>
org.gcube.common.clients.builders.AbstractSingletonBuilder<EndpointReference,S,P>
org.gcube.common.clients.fw.builders.SingletonBuilderImpl<S,P>
- Type Parameters:
S - the type of service stubsP - the type of service proxies
- All Implemented Interfaces:
- org.gcube.common.clients.builders.SingletonBuilderAPI.Builder<EndpointReference,P>, org.gcube.common.clients.builders.SingletonBuilderAPI.FinalClause<P>, org.gcube.common.clients.builders.SingletonBuilderAPI.SecondClause<P>, SingletonBuilder<P>
public final class SingletonBuilderImpl<S,P>
- extends org.gcube.common.clients.builders.AbstractSingletonBuilder<EndpointReference,S,P>
- implements SingletonBuilder<P>
Default implementation of SingletonBuilder.
- Author:
- Fabio Simeoni
| Fields inherited from class org.gcube.common.clients.builders.AbstractBuilder |
defaultTimeout |
|
Constructor Summary |
SingletonBuilderImpl(Plugin<S,P> plugin,
org.gcube.common.clients.cache.EndpointCache<EndpointReference> cache,
org.gcube.common.clients.config.Property<?>... properties)
Constructs an instance with a given Plugin, an EndpointCache, and zero or more default Propertys. |
SingletonBuilderImpl(Plugin<S,P> plugin,
org.gcube.common.clients.config.Property<?>... properties)
Constructs an instance with a given Plugin and zero or more default Propertys. |
| Methods inherited from class org.gcube.common.clients.builders.AbstractSingletonBuilder |
at, at, at, matching, with, with, withTimeout |
| Methods inherited from class org.gcube.common.clients.builders.AbstractBuilder |
addProperty, build, plugin, setAddress, setQuery, setTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gcube.common.clients.builders.SingletonBuilderAPI.Builder |
at, at, at, matching |
| Methods inherited from interface org.gcube.common.clients.builders.SingletonBuilderAPI.SecondClause |
build |
| Methods inherited from interface org.gcube.common.clients.builders.SingletonBuilderAPI.FinalClause |
build |
SingletonBuilderImpl
public SingletonBuilderImpl(Plugin<S,P> plugin,
org.gcube.common.clients.config.Property<?>... properties)
- Constructs an instance with a given
Plugin and zero or more default Propertys.
- Parameters:
plugin - the Pluginproperties - the properties
SingletonBuilderImpl
public SingletonBuilderImpl(Plugin<S,P> plugin,
org.gcube.common.clients.cache.EndpointCache<EndpointReference> cache,
org.gcube.common.clients.config.Property<?>... properties)
- Constructs an instance with a given
Plugin, an EndpointCache, and zero or more default Propertys.
- Parameters:
plugin - the Plugincache - the cacheproperties - the properties
convertAddress
protected EndpointReference convertAddress(W3CEndpointReference address)
- Specified by:
convertAddress in class org.gcube.common.clients.builders.AbstractBuilder<EndpointReference,S,P>
contextPath
protected String contextPath()
- Specified by:
contextPath in class org.gcube.common.clients.builders.AbstractBuilder<EndpointReference,S,P>
Copyright © 2013. All Rights Reserved.