|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Serializer in org.axonframework.commandhandling.disruptor |
---|
Methods in org.axonframework.commandhandling.disruptor that return Serializer | |
---|---|
Serializer |
DisruptorConfiguration.getSerializer()
Returns the serializer to perform pre-serialization with, or null if no pre-serialization should be
done. |
Methods in org.axonframework.commandhandling.disruptor with parameters of type Serializer | |
---|---|
DisruptorConfiguration |
DisruptorConfiguration.setSerializer(Serializer newSerializer)
Returns the serializer to perform pre-serialization with, or null if no pre-serialization should be
done. |
Constructors in org.axonframework.commandhandling.disruptor with parameters of type Serializer | |
---|---|
SerializerHandler(Serializer serializer,
int serializerSegmentId,
Class<?> serializedRepresentation)
Initialize the handler using given serializer and processing the segment Id with given
serializerId (in case of multiple serializer threads). |
Uses of Serializer in org.axonframework.commandhandling.distributed.jgroups |
---|
Methods in org.axonframework.commandhandling.distributed.jgroups with parameters of type Serializer | |
---|---|
CommandMessage<?> |
DispatchMessage.getCommandMessage(Serializer serializer)
Returns the CommandMessage wrapped in this Message. |
Throwable |
ReplyMessage.getError(Serializer serializer)
Returns the error of the command processing. |
Object |
ReplyMessage.getReturnValue(Serializer serializer)
Returns the returnValue of the command processing. |
void |
JGroupsConnectorFactoryBean.setSerializer(Serializer serializer)
Sets the serializer used to serialize events before they are dispatched to the destination. |
Constructors in org.axonframework.commandhandling.distributed.jgroups with parameters of type Serializer | |
---|---|
DispatchMessage(CommandMessage<?> commandMessage,
Serializer serializer,
boolean expectReply)
Initialized a DispatchMessage for the given commandMessage , to be serialized using given
serializer . |
|
JGroupsConnector(org.jgroups.JChannel channel,
String clusterName,
CommandBus localSegment,
Serializer serializer)
Initializes the Connector using given resources. |
|
JGroupsConnector(org.jgroups.JChannel channel,
String clusterName,
CommandBus localSegment,
Serializer serializer,
HashChangeListener hashChangeListener)
Initializes the Connector using given resources. |
|
ReplyMessage(String commandIdentifier,
Object returnValue,
Throwable error,
Serializer serializer)
Constructs a message containing a reply to the command with given commandIdentifier , containing
either given returnValue or error , which uses the given serializer to
deserialize its contents. |
Uses of Serializer in org.axonframework.commandhandling.distributed.jgroups.support.callbacks |
---|
Constructors in org.axonframework.commandhandling.distributed.jgroups.support.callbacks with parameters of type Serializer | |
---|---|
ReplyingCallback(org.jgroups.JChannel channel,
org.jgroups.Address address,
CommandMessage commandMessage,
Serializer serializer)
Initialize the callback to send a reply for an incoming commandMessage to given address using the given channel . |
Uses of Serializer in org.axonframework.eventhandling.amqp |
---|
Constructors in org.axonframework.eventhandling.amqp with parameters of type Serializer | |
---|---|
DefaultAMQPMessageConverter(Serializer serializer)
Initializes the AMQPMessageConverter with the given serializer , using a PackageRoutingKeyResolver and requesting durable dispatching. |
|
DefaultAMQPMessageConverter(Serializer serializer,
RoutingKeyResolver routingKeyResolver,
boolean durable)
Initializes the AMQPMessageConverter with the given serializer , routingKeyResolver and
requesting durable dispatching when durable is true . |
Uses of Serializer in org.axonframework.eventhandling.amqp.spring |
---|
Methods in org.axonframework.eventhandling.amqp.spring with parameters of type Serializer | |
---|---|
void |
SpringAMQPTerminal.setSerializer(Serializer serializer)
Sets the serializer to serialize messages with when sending them to the Exchange. |
Uses of Serializer in org.axonframework.eventhandling.io |
---|
Constructors in org.axonframework.eventhandling.io with parameters of type Serializer | |
---|---|
EventMessageReader(DataInputStream input,
Serializer serializer)
Creates a new EventMessageReader that reads the data from the given input and deserializes payload
and meta data using the given serializer . |
|
EventMessageWriter(DataOutput output,
Serializer serializer)
Creates a new EventMessageWriter writing data to the specified underlying output . |
Uses of Serializer in org.axonframework.eventstore.fs |
---|
Constructors in org.axonframework.eventstore.fs with parameters of type Serializer | |
---|---|
FileSystemBufferedReaderDomainEventStream(InputStream inputStream,
Serializer serializer,
UpcasterChain upcasterChain)
Initialize a BufferedReaderDomainEventStream using the given inputStream and
serializer . |
|
FileSystemEventMessageWriter(DataOutput output,
Serializer serializer)
Creates a new EventMessageWriter writing data to the specified underlying output . |
|
FileSystemEventStore(Serializer serializer,
EventFileResolver eventFileResolver)
Initialize the FileSystemEventStore using the given serializer . |
|
FileSystemSnapshotEventReader(InputStream eventFile,
InputStream snapshotEventFile,
Serializer eventSerializer)
Creates a snapshot event reader that reads the latest snapshot from the snapshotEventFile . |
|
FileSystemSnapshotEventWriter(InputStream eventFile,
OutputStream snapshotEventFile,
Serializer eventSerializer)
Creates a snapshot event writer that writes any given snapshotEvent to the given
snapshotEventFile . |
Uses of Serializer in org.axonframework.eventstore.jdbc |
---|
Constructors in org.axonframework.eventstore.jdbc with parameters of type Serializer | |
---|---|
JdbcEventStore(EventEntryStore eventEntryStore,
Serializer serializer)
Initializes a JdbcEventStore using the given eventEntryStore and serializer . |
Uses of Serializer in org.axonframework.eventstore.jpa |
---|
Constructors in org.axonframework.eventstore.jpa with parameters of type Serializer | |
---|---|
JpaEventStore(EntityManagerProvider entityManagerProvider,
Serializer serializer)
Initialize a JpaEventStore which serializes events using the given eventSerializer and stores the
events in the database using the default EventEntryStore. |
|
JpaEventStore(EntityManagerProvider entityManagerProvider,
Serializer serializer,
EventEntryStore eventEntryStore)
Initialize a JpaEventStore which serializes events using the given eventSerializer and stores the
events in the database using the given eventEntryStore . |
Uses of Serializer in org.axonframework.eventstore.mongo |
---|
Methods in org.axonframework.eventstore.mongo with parameters of type Serializer | |
---|---|
com.mongodb.DBObject[] |
StorageStrategy.createDocuments(String type,
Serializer eventSerializer,
List<DomainEventMessage> messages)
Generates the DBObject instances that need to be stored for a commit. |
com.mongodb.DBObject[] |
DocumentPerEventStorageStrategy.createDocuments(String type,
Serializer eventSerializer,
List<DomainEventMessage> messages)
|
com.mongodb.DBObject[] |
DocumentPerCommitStorageStrategy.createDocuments(String type,
Serializer eventSerializer,
List<DomainEventMessage> messages)
|
List<DomainEventMessage> |
StorageStrategy.extractEventMessages(com.mongodb.DBObject entry,
Object aggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
Extracts the individual Event Messages from the given entry . |
List<DomainEventMessage> |
DocumentPerEventStorageStrategy.extractEventMessages(com.mongodb.DBObject entry,
Object aggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
|
List<DomainEventMessage> |
DocumentPerCommitStorageStrategy.extractEventMessages(com.mongodb.DBObject entry,
Object aggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
|
Constructors in org.axonframework.eventstore.mongo with parameters of type Serializer | |
---|---|
MongoEventStore(MongoTemplate mongoTemplate,
Serializer eventSerializer,
StorageStrategy storageStrategy)
Initialize the mongo event store with given mongoTemplate , eventSerializer and
storageStrategy . |
|
MongoEventStore(Serializer eventSerializer,
MongoTemplate mongo)
Constructor that accepts a Serializer and the MongoTemplate. |
Uses of Serializer in org.axonframework.gae.eventstore |
---|
Methods in org.axonframework.gae.eventstore with parameters of type Serializer | |
---|---|
List<DomainEventMessage> |
EventEntry.getDomainEvent(Object actualAggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
Returns the actual DomainEvent from the EventEntry using the provided Serializer. |
Constructors in org.axonframework.gae.eventstore with parameters of type Serializer | |
---|---|
GaeEventStore(Serializer eventSerializer)
Constructs and instance using the given eventSerializer . |
Uses of Serializer in org.axonframework.mongo3.eventstore |
---|
Methods in org.axonframework.mongo3.eventstore with parameters of type Serializer | |
---|---|
List<org.bson.Document> |
StorageStrategy.createDocuments(String type,
Serializer eventSerializer,
List<DomainEventMessage> messages)
Generates the DBObject instances that need to be stored for a commit. |
List<org.bson.Document> |
DocumentPerEventStorageStrategy.createDocuments(String type,
Serializer eventSerializer,
List<DomainEventMessage> messages)
|
List<org.bson.Document> |
DocumentPerCommitStorageStrategy.createDocuments(String type,
Serializer eventSerializer,
List<DomainEventMessage> messages)
|
List<DomainEventMessage> |
StorageStrategy.extractEventMessages(org.bson.Document entry,
Object aggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
Extracts the individual Event Messages from the given entry . |
List<DomainEventMessage> |
DocumentPerEventStorageStrategy.extractEventMessages(org.bson.Document entry,
Object aggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
|
List<DomainEventMessage> |
DocumentPerCommitStorageStrategy.extractEventMessages(org.bson.Document entry,
Object aggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
|
Constructors in org.axonframework.mongo3.eventstore with parameters of type Serializer | |
---|---|
MongoEventStore(MongoTemplate mongoTemplate,
Serializer eventSerializer,
StorageStrategy storageStrategy)
Initialize the mongo event store with given mongoTemplate , eventSerializer and
storageStrategy . |
|
MongoEventStore(Serializer eventSerializer,
MongoTemplate mongo)
Constructor that accepts a Serializer and the MongoTemplate. |
Uses of Serializer in org.axonframework.mongo3.saga.repository |
---|
Methods in org.axonframework.mongo3.saga.repository with parameters of type Serializer | |
---|---|
Saga |
SagaEntry.getSaga(Serializer serializer)
Returns the Saga instance stored in this entry. |
void |
MongoSagaRepository.setSerializer(Serializer serializer)
Provide the serializer to use if the default JavaSagaSerializer is not the best solution. |
Constructors in org.axonframework.mongo3.saga.repository with parameters of type Serializer | |
---|---|
SagaEntry(Saga saga,
Serializer serializer)
Constructs a new SagaEntry for the given saga . |
Uses of Serializer in org.axonframework.saga.repository.jdbc |
---|
Methods in org.axonframework.saga.repository.jdbc with parameters of type Serializer | |
---|---|
void |
JdbcSagaRepository.setSerializer(Serializer serializer)
Sets the Serializer instance to serialize Sagas with. |
Constructors in org.axonframework.saga.repository.jdbc with parameters of type Serializer | |
---|---|
JdbcSagaRepository(ConnectionProvider connectionProvider,
SagaSqlSchema sqldef,
Serializer serializer)
Initializes a Saga Repository, using given connectionProvider to obtain connections to the
database, and given sqldef to execute SQL statements and serializer to serialize
Sagas. |
Uses of Serializer in org.axonframework.saga.repository.jpa |
---|
Methods in org.axonframework.saga.repository.jpa with parameters of type Serializer | |
---|---|
Saga |
SagaEntry.getSaga(Serializer serializer)
Returns the Saga instance stored in this entry. |
void |
JpaSagaRepository.setSerializer(Serializer serializer)
Sets the Serializer instance to serialize Sagas with. |
Constructors in org.axonframework.saga.repository.jpa with parameters of type Serializer | |
---|---|
SagaEntry(Saga saga,
Serializer serializer)
Constructs a new SagaEntry for the given saga . |
Uses of Serializer in org.axonframework.saga.repository.mongo |
---|
Methods in org.axonframework.saga.repository.mongo with parameters of type Serializer | |
---|---|
Saga |
SagaEntry.getSaga(Serializer serializer)
Returns the Saga instance stored in this entry. |
void |
MongoSagaRepository.setSerializer(Serializer serializer)
Provide the serializer to use if the default JavaSagaSerializer is not the best solution. |
Constructors in org.axonframework.saga.repository.mongo with parameters of type Serializer | |
---|---|
SagaEntry(Saga saga,
Serializer serializer)
Constructs a new SagaEntry for the given saga . |
Uses of Serializer in org.axonframework.serializer |
---|
Classes in org.axonframework.serializer that implement Serializer | |
---|---|
class |
AbstractXStreamSerializer
Abstract implementation for XStream based serializers. |
class |
JavaSerializer
Serializer implementation that uses Java serialization to serialize and deserialize object instances. |
class |
MessageSerializer
Wrapper around a serializer that provides SerializationAware support. |
Methods in org.axonframework.serializer that return Serializer | |
---|---|
Serializer |
LazyDeserializingObject.getSerializer()
Returns the serializer to deserialize this object |
Methods in org.axonframework.serializer with parameters of type Serializer | ||
---|---|---|
static
|
MessageSerializer.serializeMetaData(Message<?> message,
Serializer serializer,
Class<T> expectedRepresentation)
Utility method that serializes the meta data of the given message using given
serializer and expectedRepresentation . |
|
|
SerializedMessage.serializeMetaData(Serializer serializer,
Class<R> expectedRepresentation)
|
|
|
SerializedEventMessage.serializeMetaData(Serializer serializer,
Class<R> expectedRepresentation)
|
|
|
SerializedDomainEventMessage.serializeMetaData(Serializer serializer,
Class<R> expectedRepresentation)
|
|
|
SerializationAwareEventMessage.serializeMetaData(Serializer serializer,
Class<R> expectedRepresentation)
|
|
|
SerializedObjectHolder.serializeMetaData(Serializer serializer,
Class<T> expectedRepresentation)
|
|
|
SerializationAware.serializeMetaData(Serializer serializer,
Class<T> expectedRepresentation)
Serialize the meta data of this message using given serializer , using given
expectedRepresentation . |
|
static
|
MessageSerializer.serializePayload(Message<?> message,
Serializer serializer,
Class<T> expectedRepresentation)
Utility method that serializes the payload of the given message using given serializer
and expectedRepresentation . |
|
|
SerializedMessage.serializePayload(Serializer serializer,
Class<R> expectedRepresentation)
|
|
|
SerializedEventMessage.serializePayload(Serializer serializer,
Class<R> expectedRepresentation)
|
|
|
SerializedDomainEventMessage.serializePayload(Serializer serializer,
Class<R> expectedRepresentation)
|
|
|
SerializationAwareEventMessage.serializePayload(Serializer serializer,
Class<R> expectedRepresentation)
|
|
|
SerializedObjectHolder.serializePayload(Serializer serializer,
Class<T> expectedRepresentation)
|
|
|
SerializationAware.serializePayload(Serializer serializer,
Class<T> expectedRepresentation)
Serialize the payload of this message using given serializer , using given
expectedRepresentation . |
Constructors in org.axonframework.serializer with parameters of type Serializer | |
---|---|
LazyDeserializingObject(SerializedObject<?> serializedObject,
Serializer serializer)
|
|
MessageSerializer(Serializer serializer)
Initializes the MessageSerializer as a wrapper around the given serializer. |
|
SerializedDomainEventMessage(SerializedDomainEventData domainEventData,
Serializer serializer)
Reconstructs a DomainEventMessage using the given domainEventData , containing data to be
deserialized using the given serializer . |
|
SerializedEventMessage(String eventIdentifier,
org.joda.time.DateTime timestamp,
SerializedObject<?> serializedPayload,
SerializedObject<?> serializedMetaData,
Serializer serializer)
Constructor to reconstruct an EventMessage using serialized data |
|
SerializedMessage(String identifier,
SerializedObject<?> serializedPayload,
SerializedObject<?> serializedMetaData,
Serializer serializer)
Reconstructs a Message using the given identifier , serializedPayload ,
serializedMetaData and serializer . |
Uses of Serializer in org.axonframework.serializer.bson |
---|
Classes in org.axonframework.serializer.bson that implement Serializer | |
---|---|
class |
DBObjectXStreamSerializer
XStream based serializer implementation that serializes objects into a Binary JSON structure. |
Uses of Serializer in org.axonframework.serializer.json |
---|
Classes in org.axonframework.serializer.json that implement Serializer | |
---|---|
class |
JacksonSerializer
Serializer implementation that uses Jackson to serialize objects into a JSON format. |
Uses of Serializer in org.axonframework.serializer.xml |
---|
Classes in org.axonframework.serializer.xml that implement Serializer | |
---|---|
class |
XStreamSerializer
Serializer that uses XStream to serialize and deserialize arbitrary objects. |
Uses of Serializer in org.axonframework.upcasting |
---|
Methods in org.axonframework.upcasting with parameters of type Serializer | |
---|---|
static List<DomainEventMessage> |
UpcastUtils.upcastAndDeserialize(SerializedDomainEventData entry,
Object aggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
Upcasts and deserializes the given entry using the given serializer and
upcasterChain . |
Constructors in org.axonframework.upcasting with parameters of type Serializer | |
---|---|
LazyUpcasterChain(Serializer serializer,
List<Upcaster> upcasters)
Initializes the UpcasterChain with given serializer and upcasters . |
|
SerializedDomainEventUpcastingContext(SerializedDomainEventData domainEventData,
Serializer serializer)
Initializes the UpcastingContext using given serialized domainEventData . |
|
SimpleUpcasterChain(Serializer serializer,
List<Upcaster> upcasters)
Initializes the UpcasterChain with given serializer and upcasters . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |