|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PlugIn process a DOM Document using the StorageSystem and returns an appropriate Document either containing a result document or an error message. Exceptions should only be thrown when fatal. A PlugIn should make every effort to handle problems and return appropriate error messages. PlugIns are expected to be thread safe. i.e. a plug in should be expect to be called from multiple threads.
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()
|
Method Detail |
---|
Map getConfiguration()
void initialize(Map configuration)
Document process(Document document, StorageSystem ss) throws Exception
Exception
boolean receiveDispatchesSyncronously()
String getDefaultResponse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |