public interface CmmnEngineLookup
Represents a strategy for building or looking up a CmmnEngine.
Implementations of this class are looked up using the Java SE 6 ServiceLoader facilities.
Users of this class that provide a custom implementation, must declare it in a file named
META-INF/services/org.flowable.cdi.spi.CmmnEngineLookup in order for it to be found.
Each implementation declares a "precedence". The precedence controls the order in which the resolved implementations will be invoked. (See: getPrecedence().) Implementations with a higher precedence will be invoked first.
| Modifier and Type | Method and Description |
|---|---|
CmmnEngine |
getCmmnEngine()
This method will only be called once by the
FlowableCmmnExtension, at startup |
int |
getPrecedence()
Determines the ordering in which implementations are invoked.
|
void |
ungetCmmnEngine()
This method will only be called once by the
FlowableCmmnExtension, at shutdown |
int getPrecedence()
CmmnEngine getCmmnEngine()
FlowableCmmnExtension, at startupCmmnEnginevoid ungetCmmnEngine()
FlowableCmmnExtension, at shutdownCopyright © 2023 Flowable. All rights reserved.