Uses of Interface
org.axonframework.test.saga.FixtureConfiguration
Packages that use FixtureConfiguration
-
Uses of FixtureConfiguration in org.axonframework.test.saga
Classes in org.axonframework.test.saga that implement FixtureConfigurationModifier and TypeClassDescriptionclassFixture for testing Annotated Sagas based on events and time passing.Methods in org.axonframework.test.saga that return FixtureConfigurationModifier and TypeMethodDescriptionFixtureConfiguration.registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<? super DeadlineMessage<?>> deadlineDispatchInterceptor) Registers a deadline dispatch interceptor which will always be invoked before a deadline is dispatched (scheduled) on theDeadlineManagerto perform a task specified in the interceptor.SagaTestFixture.registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<? super DeadlineMessage<?>> deadlineDispatchInterceptor) FixtureConfiguration.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage<?>> deadlineHandlerInterceptor) Registers a deadline handler interceptor which will always be invoked before a deadline is handled to perform a task specified in the interceptor.SagaTestFixture.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage<?>> deadlineHandlerInterceptor) default FixtureConfigurationFixtureConfiguration.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage<?>> eventHandlerInterceptor) Registers aMessageHandlerInterceptorforEventMessages.SagaTestFixture.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage<?>> eventHandlerInterceptor) FixtureConfiguration.registerFieldFilter(FieldFilter fieldFilter) Registers the givenfieldFilter, which is used to define which Fields are used when comparing objects.SagaTestFixture.registerFieldFilter(FieldFilter fieldFilter) FixtureConfiguration.registerHandlerDefinition(HandlerDefinition handlerDefinition) Registers aHandlerDefinitionwithin this fixture.SagaTestFixture.registerHandlerDefinition(HandlerDefinition handlerDefinition) FixtureConfiguration.registerHandlerEnhancerDefinition(HandlerEnhancerDefinition handlerEnhancerDefinition) Registers aHandlerEnhancerDefinitionwithin this fixture.SagaTestFixture.registerHandlerEnhancerDefinition(HandlerEnhancerDefinition handlerEnhancerDefinition) FixtureConfiguration.registerIgnoredField(Class<?> declaringClass, String fieldName) Indicates that a field with givenfieldName, which is declared in givendeclaringClassis ignored when performing deep equality checks.SagaTestFixture.registerIgnoredField(Class<?> declaringClass, String fieldName) FixtureConfiguration.registerListenerInvocationErrorHandler(ListenerInvocationErrorHandler listenerInvocationErrorHandler) Registers aListenerInvocationErrorHandlerto be set for the Saga to deal with exceptions being thrown from within Saga Event Handlers.SagaTestFixture.registerListenerInvocationErrorHandler(ListenerInvocationErrorHandler listenerInvocationErrorHandler) FixtureConfiguration.registerParameterResolverFactory(ParameterResolverFactory parameterResolverFactory) Registers aParameterResolverFactorywithin this fixture.SagaTestFixture.registerParameterResolverFactory(ParameterResolverFactory parameterResolverFactory) FixtureConfiguration.registerResourceInjector(ResourceInjector resourceInjector) Registers aResourceInjectorwithin this fixture.SagaTestFixture.registerResourceInjector(ResourceInjector resourceInjector) FixtureConfiguration.registerStartRecordingCallback(Runnable onStartRecordingCallback) Registers a callback to be invoked when the fixture execution starts recording.SagaTestFixture.registerStartRecordingCallback(Runnable onStartRecordingCallback) default FixtureConfigurationFixtureConfiguration.suppressExceptionInGivenPhase(boolean suppress) Configure whether the fixture should suppress exceptions thrown during the given-phase.SagaTestFixture.suppressExceptionInGivenPhase(boolean suppress) FixtureConfiguration.withTransienceCheckDisabled()Disables the check that injected resources are stored in fields that are marked 'transient'.SagaTestFixture.withTransienceCheckDisabled()