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 ofProxyConfigused 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 ofProxyDelegates- Author:
- Fabio Simeoni
-
-
Constructor Summary
Constructors Constructor Description AbstractDelegate(C config)Constructs an instance with a given configuration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cconfig()Returns the configuration of the proxy.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.common.clients.delegates.ProxyDelegate
make
-
-
-
-
Constructor Detail
-
AbstractDelegate
public AbstractDelegate(C config)
Constructs an instance with a given configuration- Parameters:
config- the configuration
-
-
Method Detail
-
config
public C config()
Description copied from interface:ProxyDelegateReturns the configuration of the proxy.- Specified by:
configin interfaceProxyDelegate<A>- Returns:
- the configuration
-
-