org.gcube.search.client.library.plugins
Class SearchCLPlugin

java.lang.Object
  extended by org.gcube.search.client.library.plugins.SearchCLPlugin
All Implemented Interfaces:
org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,SearchStub,SearchCLProxyI>, org.gcube.common.clients.fw.plugin.Plugin<SearchStub,SearchCLProxyI>

public class SearchCLPlugin
extends Object
implements org.gcube.common.clients.fw.plugin.Plugin<SearchStub,SearchCLProxyI>

Search Client Library plugin. Exposes information that allows CL Framework components to act on behalf of Search CL.

Author:
rena

Constructor Summary
SearchCLPlugin()
           
 
Method Summary
 Exception convert(Exception fault, org.gcube.common.clients.config.ProxyConfig<?,?> config)
           
 String name()
          Implementation of Plugin operations.
 String namespace()
           
 SearchCLDefaultProxy newProxy(org.gcube.common.clients.delegates.ProxyDelegate<SearchStub> delegate)
           
 SearchStub resolve(EndpointReference reference, org.gcube.common.clients.config.ProxyConfig<?,?> proxyConfig)
           
 String serviceClass()
           
 String serviceName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchCLPlugin

public SearchCLPlugin()
Method Detail

name

public String name()
Implementation of Plugin operations. With these callbacks the library describes Search to the framework.

Specified by:
name in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,SearchStub,SearchCLProxyI>

namespace

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

serviceClass

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

serviceName

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

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,SearchStub,SearchCLProxyI>

resolve

public SearchStub resolve(EndpointReference reference,
                          org.gcube.common.clients.config.ProxyConfig<?,?> proxyConfig)
                   throws Exception
Specified by:
resolve in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,SearchStub,SearchCLProxyI>
Throws:
Exception

newProxy

public SearchCLDefaultProxy newProxy(org.gcube.common.clients.delegates.ProxyDelegate<SearchStub> delegate)
Specified by:
newProxy in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,SearchStub,SearchCLProxyI>


Copyright © 2013. All Rights Reserved.