org.apache.shindig.gadgets.servlet
Class JsonRpcHandler.Job
java.lang.Object
org.apache.shindig.gadgets.servlet.JsonRpcHandler.Job
- All Implemented Interfaces:
- Callable<org.json.JSONObject>
- Enclosing class:
- JsonRpcHandler
protected class JsonRpcHandler.Job
- extends Object
- implements Callable<org.json.JSONObject>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected final GadgetContext context
JsonRpcHandler.Job
public JsonRpcHandler.Job(GadgetContext context)
call
public org.json.JSONObject call()
throws RpcException
- Specified by:
call in interface Callable<org.json.JSONObject>
- Throws:
RpcException
getGadgetJson
protected org.json.JSONObject getGadgetJson(Gadget gadget,
GadgetSpec spec)
throws org.json.JSONException
- Throws:
org.json.JSONException
Copyright © 2007-2012. All Rights Reserved.