Package com.metaparadigm.jsonrpc

JavaScript to Java remote communication library.

See:
          Description

Interface Summary
ErrorInvocationCallback Interface to be implemented by objects registered for invocation callbacks that include error information.
InvocationCallback Interface to be implemented by objects registered for invocation callbacks with the JSONRPCBridge.
LocalArgResolver Interface to be implemented by objects registered to locally resolve method arguments using transport context information.
Serializer Interface to be implemented by custom serializer objects that convert to and from Java objects and JSON objects.
 

Class Summary
AbstractSerializer Convenience class for implementing Serializers providing default setOwner and canSerialize implementations.
ArraySerializer  
BeanSerializer  
BooleanSerializer  
DateSerializer  
DictionarySerializer  
HttpServletRequestArgResolver An LocalArgResolver implementation that is registered by default on the JSONRPCBridge and will replace an HttpServletRequest argument on a called method with the current request object.
HttpSessionArgResolver An LocalArgResolver implementation that is registered by default on the JSONRPCBridge and will replace an HttpSession argument on a called method with the current session.
JSONRPCBridge This class implements a bridge that unmarshalls JSON objects in JSON-RPC request format, invokes a method on the exported object, and then marshalls the resulting Java objects to JSON objects in JSON-RPC result format.
JSONRPCBridgeServletArgResolver An LocalArgResolver implementation that is registered by default on the JSONRPCBridge and will replace an JSONRPCBridge argument on a called method with the seesion specific bridge object.
JSONRPCResult  
JSONRPCServlet This servlet handles JSON-RPC requests over HTTP and hands them to a JSONRPCBridge instance registered in the HttpSession.
JSONSerializer This class is the public entry point to the serialization code and provides methods for marshalling Java objects into JSON objects and unmarshalling JSON objects into Java objects.
ListSerializer  
MapSerializer  
NumberSerializer  
ObjectMatch This class is returned from the Serializer tryUnmarshall method to indicate number of mismatched fields.
PrimitiveSerializer  
ReferenceSerializer  
SerializerState This class is used by Serializers to hold state during marshalling and unmarshalling.
SetSerializer  
StringSerializer  
 

Exception Summary
LocalArgResolveException Thrown by LocalArgResolver objects when they are unable to resolve context information into the local argument object.
MarshallException Thrown by Serializer objects when they are unable to Marshall the Java objects into JSON objects.
UnmarshallException Thrown by Serializer objects when they are unable to Unmarshall the JSON objects into Java objects.
 

Package com.metaparadigm.jsonrpc Description

JavaScript to Java remote communication library.



Copyright © 2005 Metaparadigm Pte Ltd.