Package org.flowable.spring.impl.test
Class FlowableSpringExtension
- java.lang.Object
-
- org.flowable.engine.test.FlowableExtension
-
- org.flowable.spring.impl.test.FlowableSpringExtension
-
- 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 FlowableSpringExtension extends FlowableExtension
An extension that usesSpringExtensionto get theProcessEnginefrom theApplicationContextand make it available for theFlowableExtension. NB: TheConfigurationResourceis ignored as theProcessEngineis taken from the Spring application context- Author:
- Filip Hrisafov
-
-
Field Summary
-
Fields inherited from class org.flowable.engine.test.FlowableExtension
DEFAULT_CONFIGURATION_RESOURCE, logger
-
-
Constructor Summary
Constructors Constructor Description FlowableSpringExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProcessEnginecreateProcessEngine(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.engine.test.FlowableExtension
afterEach, beforeEach, getConfigurationResource, getTestHelper, resolveParameter, supportsParameter
-
-
-
-
Method Detail
-
createProcessEngine
protected ProcessEngine createProcessEngine(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
createProcessEnginein classFlowableExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
getStorein classFlowableExtension
-
-