Package | Description |
---|---|
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 |
Modifier and Type | Interface and Description |
---|---|
interface |
CommandMessage<T>
Represents a Message carrying a command as its payload.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericCommandMessage<T>
Implementation of the CommandMessage that takes all properties as constructor parameters.
|
Modifier and Type | Method and Description |
---|---|
T |
ConstructorCommandMessageHandler.invoke(Object target,
Message message) |
boolean |
CurrentUnitOfWorkParameterResolverFactory.matches(Message message) |
Object |
CurrentUnitOfWorkParameterResolverFactory.resolveParameterValue(Message message) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
SimpleCorrelationDataProvider.correlationDataFor(Message message) |
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
<T> SerializedObject<T> |
MessageSerializer.serializeMetaData(Message<?> message,
Class<T> expectedRepresentation)
Serialize the meta data of given
message to the given expectedRepresentation . |
static <T> SerializedObject<T> |
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 . |
<T> SerializedObject<T> |
MessageSerializer.serializePayload(Message<?> message,
Class<T> expectedRepresentation)
Serialize the payload of given
message to the given expectedRepresentation . |
static <T> SerializedObject<T> |
MessageSerializer.serializePayload(Message<?> message,
Serializer serializer,
Class<T> expectedRepresentation)
Utility method that serializes the payload of the given
message using given serializer
and expectedRepresentation . |
Constructor and Description |
---|
SerializedObjectHolder(Message message)
Initialize the holder for the serialized representations of the payload and meta data of given
message |
Modifier and Type | Class and Description |
---|---|
class |
PayloadMatcher<T extends Message>
Matcher that matches any message (e.g.
|
Modifier and Type | Method and Description |
---|---|
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 . |
Copyright © 2010-2014. All Rights Reserved.