EventMessage < T > function ( EventMessage < T > arg0 ) { if ( arg0 instanceof SerializationAware ) { return arg0 ; } return new SerializationAwareEventMessage < T > ( arg0 ) ; }
wrap the given message to make it serializationaware . the returning object can be safely cast to serializationaware . if the given message already implements serializationaware , it is returned as-is . it is therefore not safe to assume the returning message is an instance of serializationawareeventmessage . concode_field_sep long serialVersionUID concode_elem_sep EventMessage<T> eventMessage concode_elem_sep SerializedObjectHolder serializedObjectHolder concode_field_sep Class getPayloadType concode_elem_sep T getPayload concode_elem_sep SerializedObject<R> serializePayload concode_elem_sep String getIdentifier concode_elem_sep DateTime getTimestamp concode_elem_sep SerializedObject<R> serializeMetaData concode_elem_sep EventMessage<T> withMetaData concode_elem_sep MetaData getMetaData concode_elem_sep Object writeReplace concode_elem_sep EventMessage<T> andMetaData