This serializer can be extended in your own application like:
class EventSerializer extends XStreamSerializer {
getXStream.aliasPackage("myalias", "com.fully.qualified.package.name")
getXStream.registerConverter(new MyApplicationEventTypeConverter)
}
In this sample you register an alias for a package in order to serialize your events not with the
fully qualified package name and it registers additional converters of importance for your application.
Thereafter the eventstore can be configured to use this serializer
You may use this XStreamSerializer without extension.
XStream serializer registration.
This serializer can be extended in your own application like:
class EventSerializer extends XStreamSerializer { getXStream.aliasPackage("myalias", "com.fully.qualified.package.name") getXStream.registerConverter(new MyApplicationEventTypeConverter) }
In this sample you register an alias for a package in order to serialize your events not with the fully qualified package name and it registers additional converters of importance for your application. Thereafter the eventstore can be configured to use this serializer You may use this XStreamSerializer without extension.