public interface ProcessEngineLookup
Represents a strategy for building or looking up a ProcessEngine.
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.ProcessEngineLookup 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 we invoked first.
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence()
Determines the ordering in which implementations are invoked.
|
ProcessEngine |
getProcessEngine()
This method will only be called once by the
FlowableExtension, at startup |
void |
ungetProcessEngine()
This method will only be called once by the
FlowableExtension, at shutdown |
int getPrecedence()
ProcessEngine getProcessEngine()
FlowableExtension, at startupProcessEnginevoid ungetProcessEngine()
FlowableExtension, at shutdownCopyright © 2023 Flowable. All rights reserved.