Package org.axonframework.serializer

Examples of org.axonframework.serializer.MessageSerializer


                         EventEntryStore eventEntryStore) {
        Assert.notNull(entityManagerProvider, "entityManagerProvider may not be null");
        Assert.notNull(serializer, "serializer may not be null");
        Assert.notNull(eventEntryStore, "eventEntryStore may not be null");
        this.entityManagerProvider = entityManagerProvider;
        this.serializer = new MessageSerializer(serializer);
        this.eventEntryStore = eventEntryStore;
    }
View Full Code Here


     */
    public JdbcEventStore(EventEntryStore eventEntryStore, Serializer serializer) {
        Assert.notNull(serializer, "serializer may not be null");
        Assert.notNull(eventEntryStore, "eventEntryStore may not be null");
        this.persistenceExceptionResolver = new JdbcSQLErrorCodesResolver();
        this.serializer = new MessageSerializer(serializer);
        this.eventEntryStore = eventEntryStore;
    }
View Full Code Here

     * @param output     the underlying output
     * @param serializer The serializer to deserialize payload and metadata with
     */
    public EventMessageWriter(DataOutput output, Serializer serializer) {
        this.out = output;
        this.serializer = new MessageSerializer(serializer);
    }
View Full Code Here

     * @param output     the underlying output
     * @param serializer The serializer to deserialize payload and metadata with
     */
    public FileSystemEventMessageWriter(DataOutput output, Serializer serializer) {
        this.out = output;
        this.messageSerializer = new MessageSerializer(serializer);
    }
View Full Code Here

     * Constructs and instance using the given <code>eventSerializer</code>.
     *
     * @param eventSerializer The serializer to serialize payload and metadata of EventMessages with.
     */
    public GaeEventStore(Serializer eventSerializer) {
        this.eventSerializer = new MessageSerializer(eventSerializer);
        this.datastoreService = DatastoreServiceFactory.getDatastoreService();
    }
View Full Code Here

     */
    public JGroupsConnector(JChannel channel, String clusterName, CommandBus localSegment, Serializer serializer) {
        this.channel = channel;
        this.clusterName = clusterName;
        this.localSegment = localSegment;
        this.serializer = new MessageSerializer(serializer);
        this.messageReceiver = new MessageReceiver();
    }
View Full Code Here

TOP

Related Classes of org.axonframework.serializer.MessageSerializer

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.