Interface EventSerializer
- All Known Implementing Classes:
JacksonEventSerializer
public interface EventSerializer
- Author:
- Oliver Drotbohm
-
Method Summary
-
Method Details
-
serialize
Serializes the given event into a storable format.- Parameters:
event
- must not be null.- Returns:
- will never be null.
-
deserialize
Deserializes the event from the serialization format into an instance of the given type.- Parameters:
serialized
- must not be null.type
- must not be null.- Returns:
- will never be null.
-