Package com.simplicite.util.integration
Class SimpleJSONAdapter
- java.lang.Object
-
- com.simplicite.util.integration.SimpleAdapter
-
- com.simplicite.util.integration.SimpleJSONAdapter
-
- All Implemented Interfaces:
AdapterInterface
,java.io.Serializable
public abstract class SimpleJSONAdapter extends SimpleAdapter
JSON adapter.
This class (and its child classes) cannot be instantiated.
They correspond to anAdapter
configuration item.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleJSONAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
process()
Process hook implementation: call process JSON hookabstract org.json.JSONArray
process(java.io.BufferedReader r)
Process JSON hook to implement-
Methods inherited from class com.simplicite.util.integration.SimpleAdapter
append, appendError, appendError, appendLog, appendLog, close, directProcess, getBooleanParameter, getBooleanParameter, getConsole, getErrorStream, getErrorWriter, getGrant, getInputReader, getInputStream, getIntParameter, getIntParameter, getLogStream, getLogWriter, getLongParameter, getLongParameter, getName, getOrigin, getOutputStream, getOutputWriter, getParameter, getParameter, getParameters, getProcessCount, getStatus, getTrackingId, init, postProcess, preProcess, setConsole, setErrorStream, setInputData, setInputStream, setLogStream, setOutputStream, setParameter, setParameter, setParameter, setParameter, setProcessCount, setStatus
-
-
-
-
Method Detail
-
process
public void process() throws java.lang.InterruptedException
Process hook implementation: call process JSON hook- Throws:
java.lang.InterruptedException
- When interrupted
-
process
public abstract org.json.JSONArray process(java.io.BufferedReader r) throws org.json.JSONException, PlatformException, java.lang.InterruptedException
Process JSON hook to implement- Parameters:
r
- Reader- Returns:
- Simplicite XML
- Throws:
org.json.JSONException
PlatformException
java.lang.InterruptedException
-
-