Uses of Class
org.axonframework.messaging.core.Context.ResourceKey
Packages that use Context.ResourceKey
Package
Description
Definitions and implementations of the Event store, the mechanism that can load event streams and append events to
them.
JPA Implementation of the EventStore.
Classes related to message processing in Axon Framework.
-
Uses of Context.ResourceKey in org.axonframework.eventsourcing.eventstore
Fields in org.axonframework.eventsourcing.eventstore declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<ConsistencyMarker> ConsistencyMarker.RESOURCE_KEYThe ResourceKey under which consistency markers are stored in aContext. -
Uses of Context.ResourceKey in org.axonframework.eventsourcing.eventstore.jdbc
Fields in org.axonframework.eventsourcing.eventstore.jdbc declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<Supplier<ConnectionExecutor>> JdbcTransactionalExecutorProvider.SUPPLIER_KEYThe resource key for theConnectionExecutorsupplier. -
Uses of Context.ResourceKey in org.axonframework.eventsourcing.eventstore.jpa
Fields in org.axonframework.eventsourcing.eventstore.jpa declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<Supplier<EntityManagerExecutor>> JpaTransactionalExecutorProvider.SUPPLIER_KEYThe resource key for theEntityManagerExecutorsupplier. -
Uses of Context.ResourceKey in org.axonframework.messaging.commandhandling.gateway
Fields in org.axonframework.messaging.commandhandling.gateway declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<ContextAwareCommandDispatcher> CommandDispatcher.RESOURCE_KEY -
Uses of Context.ResourceKey in org.axonframework.messaging.core
Fields in org.axonframework.messaging.core declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<String> LegacyResources.AGGREGATE_IDENTIFIER_KEYThe ResourceKey to obtain the Aggregate Identifier from an Event's context.static final Context.ResourceKey<Long> LegacyResources.AGGREGATE_SEQUENCE_NUMBER_KEYThe ResourceKey to obtain the Aggregate Sequence Number from an Event's context.static final Context.ResourceKey<String> LegacyResources.AGGREGATE_TYPE_KEYThe ResourceKey to obtain the Aggregate Type from an Event's context.static final Context.ResourceKey<Message> Message.RESOURCE_KEYMethods in org.axonframework.messaging.core that return Context.ResourceKeyModifier and TypeMethodDescriptionstatic <T> Context.ResourceKey<T> Create a newResourceKeyfor a resource of typeT.Methods in org.axonframework.messaging.core that return types with arguments of type Context.ResourceKeyModifier and TypeMethodDescriptionContext.resources()Retrieves all resources contained within the currentContext.SimpleContext.resources()SimpleEntry.resources()Methods in org.axonframework.messaging.core with parameters of type Context.ResourceKeyModifier and TypeMethodDescriptionbooleanContext.containsResource(Context.ResourceKey<?> key) Indicates whether a resource has been registered with the givenkeyin this Context.booleanSimpleContext.containsResource(Context.ResourceKey<?> key) booleanSimpleEntry.containsResource(Context.ResourceKey<?> key) <T> TContext.getResource(Context.ResourceKey<T> key) Returns the resource currently registered under the givenkey, ornullif no resource is present.<T> TSimpleContext.getResource(Context.ResourceKey<T> key) <T> TSimpleEntry.getResource(Context.ResourceKey<T> key) static <T> ContextContext.with(Context.ResourceKey<T> key, T value) Create a Context with a single resource with the given initialkeyandvalue.<T> ContextContext.withResource(Context.ResourceKey<T> key, T resource) Constructs a copy ofthisContext with an additionalresourcefor givenkey.<T> MessageStream.Entry<M> MessageStream.Entry.withResource(Context.ResourceKey<T> key, T resource) <T> ContextSimpleContext.withResource(Context.ResourceKey<T> key, T resource) <T> MessageStream.Entry<M> SimpleEntry.withResource(Context.ResourceKey<T> key, T resource) Constructors in org.axonframework.messaging.core with parameters of type Context.ResourceKeyModifierConstructorDescriptionSimpleContext(Context.ResourceKey<T> key, T value) Constructs a SimpleContext with a single resource. -
Uses of Context.ResourceKey in org.axonframework.messaging.core.interception
Fields in org.axonframework.messaging.core.interception declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<Map<String, String>> CorrelationDataInterceptor.CORRELATION_DATAResource key the correlation data is stored in theProcessingContext. -
Uses of Context.ResourceKey in org.axonframework.messaging.core.unitofwork
Methods in org.axonframework.messaging.core.unitofwork that return types with arguments of type Context.ResourceKeyModifier and TypeMethodDescriptionLegacyMessageSupportingContext.resources()Deprecated.ResourceOverridingProcessingContext.resources()Methods in org.axonframework.messaging.core.unitofwork with parameters of type Context.ResourceKeyModifier and TypeMethodDescription<T> TLegacyMessageSupportingContext.computeResourceIfAbsent(Context.ResourceKey<T> key, Supplier<T> resourceSupplier) Deprecated.<T> TProcessingContext.computeResourceIfAbsent(Context.ResourceKey<T> key, Supplier<T> resourceSupplier) If no resource is present for the givenkey, the givenresourceSupplieris used to supply the instance to register under thiskey.<T> TResourceOverridingProcessingContext.computeResourceIfAbsent(Context.ResourceKey<T> key, Supplier<T> resourceSupplier) booleanLegacyMessageSupportingContext.containsResource(Context.ResourceKey<?> key) Deprecated.booleanResourceOverridingProcessingContext.containsResource(Context.ResourceKey<?> key) <T> TLegacyMessageSupportingContext.getResource(Context.ResourceKey<T> key) Deprecated.<T> TResourceOverridingProcessingContext.getResource(Context.ResourceKey<T> key) <T> TLegacyMessageSupportingContext.putResource(Context.ResourceKey<T> key, T resource) Deprecated.<T> TProcessingContext.putResource(Context.ResourceKey<T> key, T resource) Register the givenresourceunder the givenkey.<T> TResourceOverridingProcessingContext.putResource(Context.ResourceKey<T> key, T resource) <T> TLegacyMessageSupportingContext.putResourceIfAbsent(Context.ResourceKey<T> key, T resource) Deprecated.<T> TProcessingContext.putResourceIfAbsent(Context.ResourceKey<T> key, T resource) Register the giveninstanceunder the givenkeyif no value is currently present.<T> TResourceOverridingProcessingContext.putResourceIfAbsent(Context.ResourceKey<T> key, T resource) <T> TLegacyMessageSupportingContext.removeResource(Context.ResourceKey<T> key) Deprecated.<T> booleanLegacyMessageSupportingContext.removeResource(Context.ResourceKey<T> key, T expectedResource) Deprecated.<T> TProcessingContext.removeResource(Context.ResourceKey<T> key) Removes the resource registered under givenkey.<T> booleanProcessingContext.removeResource(Context.ResourceKey<T> key, T expectedResource) Remove the resource associated with givenkeyif the givenexpectedResourceis the currently associated value.<T> TResourceOverridingProcessingContext.removeResource(Context.ResourceKey<T> key) <T> booleanResourceOverridingProcessingContext.removeResource(Context.ResourceKey<T> key, T expectedResource) <T> TLegacyMessageSupportingContext.updateResource(Context.ResourceKey<T> key, UnaryOperator<T> resourceUpdater) Deprecated.<T> TProcessingContext.updateResource(Context.ResourceKey<T> key, UnaryOperator<T> resourceUpdater) Update the resource with givenkeyusing the givenresourceUpdaterto describe the update.<T> TResourceOverridingProcessingContext.updateResource(Context.ResourceKey<T> key, UnaryOperator<T> resourceUpdater) default <T> ProcessingContextProcessingContext.withResource(Context.ResourceKey<T> key, T resource) Constructors in org.axonframework.messaging.core.unitofwork with parameters of type Context.ResourceKeyModifierConstructorDescriptionResourceOverridingProcessingContext(ProcessingContext delegate, Context.ResourceKey<R> key, R resource) Constructs a resource-overridingProcessingContextusing the provided parameters. -
Uses of Context.ResourceKey in org.axonframework.messaging.eventhandling.gateway
Fields in org.axonframework.messaging.eventhandling.gateway declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<ProcessingContextEventAppender> EventAppender.RESOURCE_KEY -
Uses of Context.ResourceKey in org.axonframework.messaging.eventhandling.processing.streaming.segmenting
Fields in org.axonframework.messaging.eventhandling.processing.streaming.segmenting declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<Segment> Segment.RESOURCE_KEYThe Context.ResourceKey used whenever a Context would contain a segment id. -
Uses of Context.ResourceKey in org.axonframework.messaging.eventhandling.processing.streaming.token
Fields in org.axonframework.messaging.eventhandling.processing.streaming.token declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<TrackingToken> TrackingToken.RESOURCE_KEY -
Uses of Context.ResourceKey in org.axonframework.messaging.eventstreaming
Fields in org.axonframework.messaging.eventstreaming declared as Context.ResourceKey -
Uses of Context.ResourceKey in org.axonframework.messaging.queryhandling
Fields in org.axonframework.messaging.queryhandling declared as Context.ResourceKeyModifier and TypeFieldDescriptionstatic final Context.ResourceKey<QueryUpdateEmitter> QueryUpdateEmitter.RESOURCE_KEY