org.pasoa.query.provenance
Class ProvenanceQueryPlugin

java.lang.Object
  extended by org.pasoa.query.provenance.ProvenanceQueryPlugin
All Implemented Interfaces:
PlugIn

public class ProvenanceQueryPlugin
extends Object
implements PlugIn


Constructor Summary
ProvenanceQueryPlugin()
           
 
Method Summary
 Map getConfiguration()
           
 String getDefaultResponse()
          This method should only be used when the PlugIn receives dispatches asynchrounsly.
 void initialize(Map configuration)
          At least the following values are present in all plug-in configurations: The provenance service URL, with key org.pasoa.common.Constants.PROVENANCE_STORE_URL
 Document process(Document document, StorageSystem ss)
           
 boolean receiveDispatchesSyncronously()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvenanceQueryPlugin

public ProvenanceQueryPlugin()
Method Detail

getConfiguration

public Map getConfiguration()
Specified by:
getConfiguration in interface PlugIn

getDefaultResponse

public String getDefaultResponse()
Description copied from interface: PlugIn
This method should only be used when the PlugIn receives dispatches asynchrounsly.

Specified by:
getDefaultResponse in interface PlugIn
Returns:

initialize

public void initialize(Map configuration)
Description copied from interface: PlugIn
At least the following values are present in all plug-in configurations:

Specified by:
initialize in interface PlugIn

process

public Document process(Document document,
                        StorageSystem ss)
                 throws Exception
Specified by:
process in interface PlugIn
Throws:
Exception

receiveDispatchesSyncronously

public boolean receiveDispatchesSyncronously()
Specified by:
receiveDispatchesSyncronously in interface PlugIn