org.pasoa.record
Class RecordPlugIn

java.lang.Object
  extended by org.pasoa.record.RecordPlugIn
All Implemented Interfaces:
PlugIn

public class RecordPlugIn
extends Object
implements PlugIn


Field Summary
static String NO_LPID
           
 
Constructor Summary
RecordPlugIn()
           
 
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()
           
 void setReceiveDipatchesSynchronously(boolean sync)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_LPID

public static final String NO_LPID
See Also:
Constant Field Values
Constructor Detail

RecordPlugIn

public RecordPlugIn()
Method Detail

process

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

setReceiveDipatchesSynchronously

public void setReceiveDipatchesSynchronously(boolean sync)

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