org.apache.oozie.event.messaging
Class JSONMessageSerializer

java.lang.Object
  extended by org.apache.oozie.event.messaging.MessageSerializer
      extended by org.apache.oozie.event.messaging.JSONMessageSerializer

public class JSONMessageSerializer
extends MessageSerializer


Field Summary
static String MESSAGE_FORMAT
           
 
Constructor Summary
JSONMessageSerializer()
           
 
Method Summary
 String getMessageFormat()
          Get the message format for the serializer
 String getSerializedObject(Object object)
          Get the serialized string from object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_FORMAT

public static final String MESSAGE_FORMAT
See Also:
Constant Field Values
Constructor Detail

JSONMessageSerializer

public JSONMessageSerializer()
Method Detail

getSerializedObject

public String getSerializedObject(Object object)
Description copied from class: MessageSerializer
Get the serialized string from object

Specified by:
getSerializedObject in class MessageSerializer
Parameters:
object - the java object
Returns:

getMessageFormat

public String getMessageFormat()
Description copied from class: MessageSerializer
Get the message format for the serializer

Specified by:
getMessageFormat in class MessageSerializer
Returns:


Copyright © 2013 Apache Software Foundation. All Rights Reserved.