org.gcube.contentmanagement.contentmanager.plugin
Class PluginContext

java.lang.Object
  extended by GCUBEPluginContext
      extended by org.gcube.contentmanagement.contentmanager.plugin.PluginContext
Direct Known Subclasses:
DefaultPluginContext

public abstract class PluginContext
extends GCUBEPluginContext

The context of service plugins.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
PluginContext()
           
 
Method Summary
abstract  java.util.List<org.w3c.dom.Element> getCreatePayloads()
          Returns the payloads processed by the FactoryDelegate, as DOM elements.
abstract  FactoryDelegate getFactory()
          Returns the FactoryDelegate of the plugin.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginContext

public PluginContext()
Method Detail

getFactory

public abstract FactoryDelegate getFactory()
Returns the FactoryDelegate of the plugin.

Returns:
the delegate.

getCreatePayloads

public abstract java.util.List<org.w3c.dom.Element> getCreatePayloads()
Returns the payloads processed by the FactoryDelegate, as DOM elements.

Returns:
the payloads.