com.vii.brillien.services.web
Class BrillienJsonRpcListener

java.lang.Object
  extended by com.vii.streamline.json.JsonRpcListener
      extended by com.vii.brillien.services.web.BrillienJsonRpcListener

public class BrillienJsonRpcListener
extends JsonRpcListener

Specialized JsonRpcListener implementation using a mediator instance.


Field Summary
protected  BrillienMediator mediator
           
protected  HashMap<String,String> references
           
 
Fields inherited from class com.vii.streamline.json.JsonRpcListener
logger, ssoRequired
 
Constructor Summary
BrillienJsonRpcListener(boolean ssoRequired, org.slf4j.Logger logger, BrillienMediator mediator, HashMap<String,String> references)
           
 
Method Summary
protected  JsonRpcResponse call(String sessionId, JsonRpcRequest typisedRequest)
           
protected  Map<String,Class> getParameterMap(String sessionId, String methodname)
           
protected  List<String> getParameterNames(String sessionId, String methodname)
           
protected  List<Class> getParameterTypes(String sessionId, String methodname)
           
protected  String getPresenceName(String methodname)
           
protected  boolean isMethodReckognised(String methodname)
           
protected  boolean isSsoRequired()
           
 
Methods inherited from class com.vii.streamline.json.JsonRpcListener
getTypisedRequest, getTypisedRequest, isJsonRpcTransportMessage, isSessionIdValid, process, processBatchRequest, processJsonRpcTransportMessage, processSimpleRequest, validateSessionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mediator

protected BrillienMediator mediator

references

protected HashMap<String,String> references
Constructor Detail

BrillienJsonRpcListener

public BrillienJsonRpcListener(boolean ssoRequired,
                               org.slf4j.Logger logger,
                               BrillienMediator mediator,
                               HashMap<String,String> references)
Method Detail

isSsoRequired

protected boolean isSsoRequired()
Overrides:
isSsoRequired in class JsonRpcListener

isMethodReckognised

protected boolean isMethodReckognised(String methodname)
Specified by:
isMethodReckognised in class JsonRpcListener

getPresenceName

protected String getPresenceName(String methodname)

getParameterNames

protected List<String> getParameterNames(String sessionId,
                                         String methodname)
                                  throws StreamLineException
Specified by:
getParameterNames in class JsonRpcListener
Throws:
StreamLineException

getParameterTypes

protected List<Class> getParameterTypes(String sessionId,
                                        String methodname)
                                 throws StreamLineException
Specified by:
getParameterTypes in class JsonRpcListener
Throws:
StreamLineException

getParameterMap

protected Map<String,Class> getParameterMap(String sessionId,
                                            String methodname)
                                     throws StreamLineException
Specified by:
getParameterMap in class JsonRpcListener
Throws:
StreamLineException

call

protected JsonRpcResponse call(String sessionId,
                               JsonRpcRequest typisedRequest)
                        throws StreamLineException
Specified by:
call in class JsonRpcListener
Throws:
StreamLineException


Copyright © 2011. All Rights Reserved.