org.gcube.common.clients.delegates
Class AbstractDelegate<A,S,C extends ProxyConfig<A,S>>
java.lang.Object
org.gcube.common.clients.delegates.AbstractDelegate<A,S,C>
- Type Parameters:
A - the type of service addressesS - the type of service stubsC - the type of ProxyConfig used by the delegate
- All Implemented Interfaces:
- ProxyDelegate<S>
- Direct Known Subclasses:
- DirectDelegate, DiscoveryDelegate
public abstract class AbstractDelegate<A,S,C extends ProxyConfig<A,S>>
- extends Object
- implements ProxyDelegate<S>
Partial implementation of ProxyDelegates
- Author:
- Fabio Simeoni
|
Constructor Summary |
AbstractDelegate(C config)
Constructs an instance with a given configuration |
| Methods inherited from interface org.gcube.common.clients.delegates.ProxyDelegate |
make |
AbstractDelegate
public AbstractDelegate(C config)
- Constructs an instance with a given configuration
- Parameters:
config - the configuration
config
public C config()
- Description copied from interface:
ProxyDelegate
- Returns the configuration of the proxy.
- Specified by:
config in interface ProxyDelegate<S>
- Returns:
- the configuration
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013. All Rights Reserved.