org.apache.turbine.services.jsonrpc
Class TurbineJsonRpc

java.lang.Object
  extended byorg.apache.turbine.services.jsonrpc.TurbineJsonRpc

public abstract class TurbineJsonRpc
extends java.lang.Object

This is a static accessor class for JsonRpcService.

Version:
$Id$
Author:
Scott Eade

Constructor Summary
TurbineJsonRpc()
           
 
Method Summary
static void clearBridge(javax.servlet.http.HttpSession session)
           
static com.metaparadigm.jsonrpc.JSONRPCBridge getBridge(javax.servlet.http.HttpSession session)
           
static JsonRpcService getService()
          Returns system's configured implementation of JsonRpcService.
static java.lang.Object processCall(java.io.CharArrayWriter cdata, com.metaparadigm.jsonrpc.JSONRPCBridge json_bridge, javax.servlet.http.HttpServletRequest request)
           
static void registerObject(javax.servlet.http.HttpSession session, java.lang.String key, java.lang.Object value)
           
static void registerObjectGlobal(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TurbineJsonRpc

public TurbineJsonRpc()
Method Detail

getService

public static JsonRpcService getService()
Returns system's configured implementation of JsonRpcService.

Returns:
an implementation of JsonRpcService

processCall

public static java.lang.Object processCall(java.io.CharArrayWriter cdata,
                                           com.metaparadigm.jsonrpc.JSONRPCBridge json_bridge,
                                           javax.servlet.http.HttpServletRequest request)

registerObject

public static void registerObject(javax.servlet.http.HttpSession session,
                                  java.lang.String key,
                                  java.lang.Object value)

registerObjectGlobal

public static void registerObjectGlobal(java.lang.String key,
                                        java.lang.Object value)

getBridge

public static com.metaparadigm.jsonrpc.JSONRPCBridge getBridge(javax.servlet.http.HttpSession session)

clearBridge

public static void clearBridge(javax.servlet.http.HttpSession session)


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.