|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Message | |
---|---|
org.axonframework.commandhandling | Classes that implement the concept of command handling using explicit command objects. |
org.axonframework.commandhandling.annotation | Classes that provide annotation support for command handling. |
org.axonframework.common.annotation | Contains the main classes for annotation support in Axon Framework. |
org.axonframework.correlation | |
org.axonframework.domain | The domain components of the Axon Framework, mainly the Aggregates and Events. |
org.axonframework.serializer | |
org.axonframework.test.matchers |
Uses of Message in org.axonframework.commandhandling |
---|
Subinterfaces of Message in org.axonframework.commandhandling | |
---|---|
interface |
CommandMessage<T>
Represents a Message carrying a command as its payload. |
Classes in org.axonframework.commandhandling that implement Message | |
---|---|
class |
GenericCommandMessage<T>
Implementation of the CommandMessage that takes all properties as constructor parameters. |
Uses of Message in org.axonframework.commandhandling.annotation |
---|
Methods in org.axonframework.commandhandling.annotation with parameters of type Message | |
---|---|
T |
ConstructorCommandMessageHandler.invoke(Object target,
Message message)
|
boolean |
CurrentUnitOfWorkParameterResolverFactory.matches(Message message)
|
Object |
CurrentUnitOfWorkParameterResolverFactory.resolveParameterValue(Message message)
|
Uses of Message in org.axonframework.common.annotation |
---|
Methods in org.axonframework.common.annotation with parameters of type Message | |
---|---|
MethodMessageHandler |
MethodMessageHandlerInspector.findHandlerMethod(Message message)
Returns the handler method that handles objects of the given parameterType . |
MethodMessageHandler |
MessageHandlerInvoker.findHandlerMethod(Message message)
Finds the handler method that can handle the given message , or null if no such handler
exists. |
Object |
MethodMessageHandler.invoke(Object target,
Message message)
|
abstract Object |
AbstractMessageHandler.invoke(Object target,
Message message)
Invokes this handler for the given target instance, using the given message as
source object to provide parameter values. |
Object |
MessageHandlerInvoker.invokeHandlerMethod(Message parameter)
Invoke the handler demarcated with the given annotationClass on the target for the given
event . |
boolean |
ParameterResolver.matches(Message message)
Indicates whether this resolver is capable of providing a value for the given message . |
boolean |
FixedValueParameterResolver.matches(Message message)
|
boolean |
AbstractMessageHandler.matches(Message message)
Indicates whether this Handler is suitable for the given message . |
T |
ParameterResolver.resolveParameterValue(Message message)
Resolves the parameter value to use for the given message , or null if no suitable
parameter value can be resolved. |
T |
FixedValueParameterResolver.resolveParameterValue(Message message)
|
Uses of Message in org.axonframework.correlation |
---|
Classes in org.axonframework.correlation with type parameters of type Message | |
---|---|
interface |
CorrelationDataProvider<T extends Message>
Object defining the the data from a Message that should be attached as correlation data to messages generated as result of the processing of that message. |
class |
MultiCorrelationDataProvider<T extends Message>
CorrelationDataProvider that combines the data of multiple other correlation providers. |
Methods in org.axonframework.correlation with parameters of type Message | |
---|---|
Map<String,?> |
SimpleCorrelationDataProvider.correlationDataFor(Message message)
|
Uses of Message in org.axonframework.domain |
---|
Subinterfaces of Message in org.axonframework.domain | |
---|---|
interface |
DomainEventMessage<T>
Represents a Message that wraps a DomainEvent and an Event representing an important change in the Domain. |
interface |
EventMessage<T>
Represents a Message wrapping an Event, which is represented by its payload. |
Classes in org.axonframework.domain that implement Message | |
---|---|
class |
GenericDomainEventMessage<T>
Generic implementation of the DomainEventMessage interface. |
class |
GenericEventMessage<T>
Generic implementation of the EventMessage interface. |
class |
GenericMessage<T>
Generic implementation of the Message interface. |
Methods in org.axonframework.domain that return Message | |
---|---|
Message<T> |
Message.andMetaData(Map<String,?> metaData)
Returns a copy of this Message with it MetaData merged with the given metaData . |
Message<T> |
Message.withMetaData(Map<String,?> metaData)
Returns a copy of this Message with the given metaData . |
Uses of Message in org.axonframework.serializer |
---|
Classes in org.axonframework.serializer that implement Message | |
---|---|
class |
SerializationAwareDomainEventMessage<T>
Wrapper around a DomainEventMessage that adds "Serialization Awareness" to the message it wraps. |
class |
SerializationAwareEventMessage<T>
Wrapper around am EventMessage that adds "Serialization Awareness" to the message it wraps. |
class |
SerializedDomainEventMessage<T>
DomainEventMessage implementation that is optimized to cope with serialized Payload and MetaData. |
class |
SerializedEventMessage<T>
EventMessage implementation that is optimized to cope with serialized Payload and MetaData. |
class |
SerializedMessage<T>
Message implementation that is optimized to cope with serialized Payload and MetaData. |
Methods in org.axonframework.serializer with parameters of type Message | ||
---|---|---|
|
MessageSerializer.serializeMetaData(Message<?> message,
Class<T> expectedRepresentation)
Serialize the meta data of given message to the given expectedRepresentation . |
|
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 . |
|
|
MessageSerializer.serializePayload(Message<?> message,
Class<T> expectedRepresentation)
Serialize the payload of given message to the 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 . |
Constructors in org.axonframework.serializer with parameters of type Message | |
---|---|
SerializedObjectHolder(Message message)
Initialize the holder for the serialized representations of the payload and meta data of given message |
Uses of Message in org.axonframework.test.matchers |
---|
Classes in org.axonframework.test.matchers with type parameters of type Message | |
---|---|
class |
PayloadMatcher<T extends Message>
Matcher that matches any message (e.g. |
Methods in org.axonframework.test.matchers that return types with arguments of type Message | |
---|---|
static org.hamcrest.Matcher<Message> |
Matchers.messageWithPayload(org.hamcrest.Matcher<?> payloadMatcher)
Matches a single Message if the given payloadMatcher matches that message's payload. |
static org.hamcrest.Matcher<List<? extends Message<?>>> |
Matchers.payloadsMatching(org.hamcrest.Matcher<? extends Iterable<?>> matcher)
Matches a list of Messages if a list containing their respective payloads matches the given matcher . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |