Class FlowableEventSpringExtension
- java.lang.Object
-
- org.flowable.eventregistry.test.FlowableEventExtension
-
- org.flowable.eventregistry.spring.test.FlowableEventSpringExtension
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension,org.junit.jupiter.api.extension.ParameterResolver
public class FlowableEventSpringExtension extends FlowableEventExtension
An extension that usesSpringExtensionto get theEventRegistryEnginefrom theApplicationContextand make it available for theFlowableEventExtension. NB: TheEventConfigurationResourceis ignored as theEventRegistryEngineis taken from the Spring application context
-
-
Field Summary
-
Fields inherited from class org.flowable.eventregistry.test.FlowableEventExtension
DEFAULT_CONFIGURATION_RESOURCE, logger
-
-
Constructor Summary
Constructors Constructor Description FlowableEventSpringExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventRegistryEnginecreateEventRegistryEngine(org.junit.jupiter.api.extension.ExtensionContext context)protected org.junit.jupiter.api.extension.ExtensionContext.StoregetStore(org.junit.jupiter.api.extension.ExtensionContext context)-
Methods inherited from class org.flowable.eventregistry.test.FlowableEventExtension
afterEach, assertAndEnsureCleanDb, beforeEach, cleanTestAndAssertAndEnsureCleanDb, getConfigurationResource, getTestHelper, resolveParameter, supportsParameter
-
-
-
-
Method Detail
-
createEventRegistryEngine
protected EventRegistryEngine createEventRegistryEngine(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
createEventRegistryEnginein classFlowableEventExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
getStorein classFlowableEventExtension
-
-