org.apache.oozie.event.messaging
Class MessageSerializer
java.lang.Object
org.apache.oozie.event.messaging.MessageSerializer
- Direct Known Subclasses:
- JSONMessageSerializer
public abstract class MessageSerializer
- extends Object
Message Serializer to serialize the java object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageSerializer
public MessageSerializer()
getSerializedObject
public abstract String getSerializedObject(Object object)
- Get the serialized string from object
- Parameters:
object
- the java object
- Returns:
getMessageFormat
public abstract String getMessageFormat()
- Get the message format for the serializer
- Returns:
Copyright © 2013 Apache Software Foundation. All Rights Reserved.