org.gcube.data.tmf.api
Interface Plugin

All Known Subinterfaces:
PluginLifecycle

public interface Plugin

Entry-point to the information and components of the plugin.

Implementations must have a no-arg constructor to be reflectively instantiated by the service.

Author:
Fabio Simeoni

Method Summary
 SourceBinder binder()
          Returns the SourceBinder of the plugin.
 String description()
          Returns the plugin description
 boolean isAnchored()
          Returns true if the plugin does not support replication across services.
 String name()
          Returns the plugin name
 List<Property> properties()
          Return the descriptive properties of the plugin
 List<String> requestSchemas()
          Returns schemas for the requests accepted by the plugin.
 

Method Detail

name

String name()
Returns the plugin name

Returns:
the name;

description

String description()
Returns the plugin description

Returns:
the description

properties

List<Property> properties()
Return the descriptive properties of the plugin

Returns:
the properties

binder

SourceBinder binder()
Returns the SourceBinder of the plugin.

Returns:
the binder

requestSchemas

List<String> requestSchemas()
Returns schemas for the requests accepted by the plugin.

The service will publish these schemas along with other information about the plugin.

Plugins may use any schema language, though some clients upstream may converge on standards such as XML Schema, which is thus recommended.

Returns:
an String-based representation of the request schemas

isAnchored

boolean isAnchored()
Returns true if the plugin does not support replication across services.

Returns:
true if the plugin does not support replication across services, false otherwise


Copyright © 2013. All Rights Reserved.