@Test public final void testCreateXStream() { assertThat(AxonSupportUtils.createXStream()).isNotNull(); }
public static XStream createXStream() { final XStream xstream = new XStream(); xstream.registerConverter(new JodaTimeConverter()); xstream.addImmutableType(UUID.class); xstream.registerConverter(new AggregateIdentifierConverter()); xstream.aliasType("dateTime", DateTime.class); xstream.aliasType("uuid", UUID.class); return xstream; }
AxonSupportUtils { public static XStream createXStream() { final XStream xstream = new XStream(); xstream.registerConverter(new JodaTimeConverter()); xstream.addImmutableType(UUID.class); xstream.registerConverter(new AggregateIdentifierConverter()); xstream.aliasType("dateTime", DateTime.class); xstream.aliasType("uuid", UUID.class); return xstream; } }
AxonSupportUtils { public static XStream createXStream() { final XStream xstream = new XStream(); xstream.registerConverter(new JodaTimeConverter()); xstream.addImmutableType(UUID.class); xstream.registerConverter(new AggregateIdentifierConverter()); xstream.aliasType("dateTime", DateTime.class); xstream.aliasType("uuid", UUID.class); return xstream; } private  AxonSupportUtils(); }
AxonSupportUtils { public static XStream createXStream() { final XStream xstream = new XStream(); xstream.registerConverter(new JodaTimeConverter()); xstream.addImmutableType(UUID.class); xstream.registerConverter(new AggregateIdentifierConverter()); xstream.aliasType("dateTime", DateTime.class); xstream.aliasType("uuid", UUID.class); return xstream; } private  AxonSupportUtils(); static SerializerFactory createSerializerFactory(); static XStream createXStream(); }
AxonSupportUtils { public static XStream createXStream() { final XStream xstream = new XStream(); xstream.registerConverter(new JodaTimeConverter()); xstream.addImmutableType(UUID.class); xstream.registerConverter(new AggregateIdentifierConverter()); xstream.aliasType("dateTime", DateTime.class); xstream.aliasType("uuid", UUID.class); return xstream; } private  AxonSupportUtils(); static SerializerFactory createSerializerFactory(); static XStream createXStream();  }