org.defne.server.json
Class JsonServiceMessage

java.lang.Object
  extended by org.defne.server.json.JsonServiceMessage
All Implemented Interfaces:
Serializable, IJsonAdaptor, IJsonServiceMessage

public class JsonServiceMessage
extends Object
implements IJsonAdaptor, Serializable

Service definition for JSON.

Version:
$Rev$ $Date$
Author:
gurkanerdogdu
See Also:
Serialized Form

Field Summary
protected  String adaptorClass
           
protected  String method
           
protected  String service
           
 
Constructor Summary
JsonServiceMessage()
           
 
Method Summary
 Object fromOutputMessage(Message message)
           
 String getAdaptorClass()
           
 String getMethod()
           
 String getService()
           
 void setAdaptorClass(String adaptorClass)
           
 void setMethod(String method)
           
 void setService(String service)
           
 Message toInputMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

protected String service

method

protected String method

adaptorClass

protected String adaptorClass
Constructor Detail

JsonServiceMessage

public JsonServiceMessage()
Method Detail

getAdaptorClass

public String getAdaptorClass()
Specified by:
getAdaptorClass in interface IJsonServiceMessage

setAdaptorClass

public void setAdaptorClass(String adaptorClass)

getService

public String getService()
Specified by:
getService in interface IJsonServiceMessage

setService

public void setService(String service)

getMethod

public String getMethod()
Specified by:
getMethod in interface IJsonServiceMessage

setMethod

public void setMethod(String method)

fromOutputMessage

public Object fromOutputMessage(Message message)
Specified by:
fromOutputMessage in interface IJsonAdaptor

toInputMessage

public Message toInputMessage()
Specified by:
toInputMessage in interface IJsonAdaptor


Copyright © 2010 MechSoft Mechanical and Software Solutions. All Rights Reserved.