org.pasoa.query.xquery
Class XQueryPlugIn

java.lang.Object
  extended by org.pasoa.query.xquery.XQueryPlugIn
All Implemented Interfaces:
PlugIn

public class XQueryPlugIn
extends Object
implements PlugIn


Constructor Summary
XQueryPlugIn()
           
 
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

XQueryPlugIn

public XQueryPlugIn()
Method Detail

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

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:

getConfiguration

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

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