|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProxyPlugin<A,S,P>
Provides information to customise the strategy of a ProxyDelegate.
Call,
ProxyDelegate| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
String name()
String namespace()
Exception convert(Exception fault,
ProxyConfig<?,?> config)
Call into a fault that can be recognised by ProxyDelegate clients.
fault - the original fault
S resolve(A address,
ProxyConfig<?,?> config)
throws Exception
address - the address of the endpoint
Exception - if the address cannot be resolvedP newProxy(ProxyDelegate<S> delegate)
delegate - the delegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||