Package org.elkoserver.foundation.json

JSON message handling infrastructure inside Elko servers.

See:
          Description

Interface Summary
DefaultDispatchTarget Interface for an object to handle JSON messages addressed to it for which it does not otherwise have specific methods.
Deliverer Interface for an object that will deliver JSON messages somewhere.
DispatchTarget Marker interface for objects that can be the recipients of JSON messages.
MessageRetargeter Interface for an object to redirect JSON messages targeted at it.
SourceRetargeter Interface for an object that can be a source of JSON messages on behalf of other objects.
TypeResolver A mapping from JSON type tag strings to Java classes.
 

Class Summary
Cryptor Simple AES-based string encryptor/decryptor, for passing sealed bundles of data through an untrusted party.
MessageDispatcher A collection of precomputed Java reflection information that can dispatch JSON messages to methods of the appropriate classes.
ObjectDecoder A producer of some class of Java objects from JSON-encoded object descriptors.
OptBoolean An optional JSON message parameter of type boolean.
OptDouble An optional JSON message parameter of type double.
OptInteger An optional JSON message parameter of type int.
OptString An optional JSON message parameter of type String.
StaticTypeResolver A simple type resolver that tries to resolve JSON type tags from statically available class information rather than from a lookup table.
 

Exception Summary
JSONInvocationException An exception somewhere in the process of performing the reflection operations involved in invoking a method or constructor from a JSON object.
MessageHandlerException An exception in the execution of a JSON method.
 

Error Summary
JSONSetupError An error somewhere in the process of performing the reflection operations to prepare to invoke methods or constructors from a JSON object.
 

Annotation Types Summary
JSONMethod Annotation to mark methods as targets for JSON method dispatch and constructors as decoders for JSON-driven object creation.
 

Package org.elkoserver.foundation.json Description

JSON message handling infrastructure inside Elko servers.