Class DynamicMessageHandlingMember<T>
java.lang.Object
ai.stapi.axonsystem.dynamic.messagehandler.DynamicMessageHandlingMember<T>
- All Implemented Interfaces:
org.axonframework.messaging.annotation.MessageHandlingMember<T>
public class DynamicMessageHandlingMember<T>
extends Object
implements org.axonframework.messaging.annotation.MessageHandlingMember<T>
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicMessageHandlingMember(Executable executable, Class<? extends org.axonframework.messaging.Message<?>> messageType, Class<?> explicitPayloadType, org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory, String messageName) -
Method Summary
Modifier and TypeMethodDescriptionannotationAttributes(Class<? extends Annotation> annotationType) Deprecated.<R> Optional<R>booleancanHandle(@NotNull org.axonframework.messaging.Message<?> message) booleancanHandleMessageType(@NotNull Class<? extends org.axonframework.messaging.Message> messageType) booleancanHandleType(@NotNull Class<?> payloadType) Class<?>booleanhasAnnotation(Class<? extends Annotation> annotationType) Deprecated.Class<?>intpriority()<HT> Optional<HT>
-
Constructor Details
-
DynamicMessageHandlingMember
public DynamicMessageHandlingMember(Executable executable, Class<? extends org.axonframework.messaging.Message<?>> messageType, Class<?> explicitPayloadType, org.axonframework.messaging.annotation.ParameterResolverFactory parameterResolverFactory, String messageName)
-
-
Method Details
-
payloadType
- Specified by:
payloadTypein interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
canHandle
public boolean canHandle(@NotNull @NotNull org.axonframework.messaging.Message<?> message) - Specified by:
canHandlein interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
canHandleMessageType
public boolean canHandleMessageType(@NotNull @NotNull Class<? extends org.axonframework.messaging.Message> messageType) - Specified by:
canHandleMessageTypein interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
handle
-
unwrap
- Specified by:
unwrapin interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
hasAnnotation
Deprecated.- Specified by:
hasAnnotationin interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
annotationAttributes
@Deprecated public Optional<Map<String,Object>> annotationAttributes(Class<? extends Annotation> annotationType) Deprecated.- Specified by:
annotationAttributesin interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
priority
public int priority()- Specified by:
priorityin interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
canHandleType
- Specified by:
canHandleTypein interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
declaringClass
- Specified by:
declaringClassin interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
signature
- Specified by:
signaturein interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-
attribute
- Specified by:
attributein interfaceorg.axonframework.messaging.annotation.MessageHandlingMember<T>
-