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.activiti.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
ActivitiExtension , at startup |
void |
ungetProcessEngine()
* This method will only be called once by the
ActivitiExtension , at shutdown |
int getPrecedence()
ProcessEngine getProcessEngine()
ActivitiExtension
, at startupProcessEngine
void ungetProcessEngine()
ActivitiExtension
, at shutdownCopyright © 2016 Alfresco. All rights reserved.