Package org.axonframework.serializer

Examples of org.axonframework.serializer.SimpleSerializedType


            return upcastObjects;
        }

        @Override
        public List<SerializedType> upcast(SerializedType serializedType) {
            SerializedType upcastType = new SimpleSerializedType(serializedType.getName(), newRevision);
            return Arrays.asList(upcastType, upcastType);
        }
View Full Code Here


        @Override
        public List<SerializedType> upcast(SerializedType serializedType,
                                           SerializedObject<String> intermediateRepresentation) {
            assertEquals("upcast object", intermediateRepresentation.getData());
            SerializedType upcastType = new SimpleSerializedType(serializedType.getName(), newRevision);
            return Arrays.asList(upcastType, upcastType);
        }
View Full Code Here

                                                       expectedTypes.get(1)));
        }

        @Override
        public List<SerializedType> upcast(SerializedType serializedType) {
            return Arrays.<SerializedType>asList(new SimpleSerializedType("unknownType1", "2"),
                                                 new SimpleSerializedType(StubStateChangedEvent.class.getName(), "2"));
        }
View Full Code Here

TOP

Related Classes of org.axonframework.serializer.SimpleSerializedType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.