Package org.axonframework.serializer

Examples of org.axonframework.serializer.SimpleSerializedType


    private SimpleSerializedType type;

    @Before
    public void setUp() throws Exception {
        testSubject = new InputStreamToByteArrayConverter();
        type = new SimpleSerializedType("bla", "0");
    }
View Full Code Here


    private InputStreamToDom4jConverter testSubject;
    private SimpleSerializedType type;

    @Before
    public void setUp() throws Exception {
        type = new SimpleSerializedType("bla", "0");
        testSubject = new InputStreamToDom4jConverter();
    }
View Full Code Here

    private InputStreamToXomConverter testSubject;
    private SimpleSerializedType type;

    @Before
    public void setUp() throws Exception {
        type = new SimpleSerializedType("bla", "0");
        testSubject = new InputStreamToXomConverter();
    }
View Full Code Here

    private SimpleSerializedType serializedType;

    @Before
    public void setUp() throws Exception {
        testSubject = new XomToStringConverter();
        serializedType = new SimpleSerializedType("custom", "0");
    }
View Full Code Here

    private SimpleSerializedType serializedType;

    @Before
    public void setUp() throws Exception {
        testSubject = new Dom4JToByteArrayConverter();
        serializedType = new SimpleSerializedType("custom", "0");
    }
View Full Code Here

        @Override
        public SerializedType doUpcast(SerializedType serializedType) {
            // we describe the refactoring that we have done. Since we want to simulate a new revision and need to
            // change the class name, we pass both details in the returned SerializedType.
            return new SimpleSerializedType(NewToDoItemWithDeadlineCreatedEvent.class.getName(), "1.1");
        }
View Full Code Here

                }
            }

            @Override
            public SerializedType typeForClass(Class type) {
                return new SimpleSerializedType(type.getName(), "");
            }

            @Override
            public ConverterFactory getConverterFactory() {
                return converterFactory;
View Full Code Here

                }
            }

            @Override
            public SerializedType typeForClass(Class type) {
                return new SimpleSerializedType(type.getName(), "");
            }

            @Override
            public ConverterFactory getConverterFactory() {
                return converterFactory;
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

                }
            }

            @Override
            public SerializedType typeForClass(Class type) {
                return new SimpleSerializedType(type.getName(), "");
            }

            @Override
            public ConverterFactory getConverterFactory() {
                return converterFactory;
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.