public interface ProxyPlugin<A,S,P>
ProxyDelegate.Call,
ProxyDelegate| Modifier and Type | Method and Description |
|---|---|
Exception |
convert(Exception fault,
ProxyConfig<?,?> config)
Converts a fault raised by a
Call into a fault that can be recognised by ProxyDelegate clients. |
String |
name()
Returns the name of the service.
|
String |
namespace()
Returns the namespace of the service
|
P |
newProxy(ProxyDelegate<S> delegate)
Returns a proxy with a given delegate
|
S |
resolve(A address,
ProxyConfig<?,?> config)
Returns a stub for a given service endpoint
|
String |
serviceClass()
Returns the gCube name of the service.
|
String |
serviceName()
Returns the gCube class of the service.
|
String name()
String namespace()
String serviceClass()
String serviceName()
Exception convert(Exception fault, ProxyConfig<?,?> config)
Call into a fault that can be recognised by ProxyDelegate clients.fault - the original faultS resolve(A address, ProxyConfig<?,?> config) throws Exception
address - the address of the endpointException - if the address cannot be resolvedP newProxy(ProxyDelegate<S> delegate)
delegate - the delegateCopyright © 2017. All Rights Reserved.