org.gcube.data.tml.plugins
Class AbstractPlugin<S,P>

java.lang.Object
  extended by org.gcube.data.tml.plugins.AbstractPlugin<S,P>
Type Parameters:
S - the type of service stubs
P - the type of service proxies
All Implemented Interfaces:
org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,S,P>, org.gcube.common.clients.fw.plugin.Plugin<S,P>
Direct Known Subclasses:
TBinderPlugin, TReaderPlugin, TWriterPlugin

public abstract class AbstractPlugin<S,P>
extends Object
implements org.gcube.common.clients.fw.plugin.Plugin<S,P>

Base class for proxy Plugins

Author:
Fabio Simeoni

Field Summary
 String name
           
 
Method Summary
 Exception convert(Exception fault, org.gcube.common.clients.config.ProxyConfig<?,?> config)
           
 String name()
           
 String namespace()
           
 String serviceClass()
           
 String serviceName()
           
 
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.delegates.ProxyPlugin
newProxy, resolve
 

Field Detail

name

public final String name
Method Detail

serviceClass

public String serviceClass()
Specified by:
serviceClass in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,S,P>

serviceName

public String serviceName()
Specified by:
serviceName in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,S,P>

namespace

public String namespace()
Specified by:
namespace in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,S,P>
Specified by:
namespace in interface org.gcube.common.clients.fw.plugin.Plugin<S,P>

name

public String name()
Specified by:
name in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,S,P>

convert

public Exception convert(Exception fault,
                         org.gcube.common.clients.config.ProxyConfig<?,?> config)
Specified by:
convert in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,S,P>


Copyright © 2013. All Rights Reserved.