public class LocalProcessEngineLookup extends Object implements ProcessEngineLookup
ProcessEngineLookup for looking up or building a local
ProcessEngine using the provided processEngineName (
ProcessEngines.NAME_DEFAULT is used as default value). Can be used
for looking up existing ProcessEngines in the same ClassLoader as
this Class.
Use this Strategy if you want to build and manage a ProcessEngine
local to your application.
Note: Requires an "activiti.cfg.xml" to be available on the classpath.| Modifier and Type | Field and Description |
|---|---|
protected String |
processEngineName |
| Constructor and Description |
|---|
LocalProcessEngineLookup() |
| 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 |
String |
getProcessEngineName() |
void |
setProcessEngineName(String processEngineName) |
void |
ungetProcessEngine()
* This method will only be called once by the
ActivitiExtension, at shutdown |
protected String processEngineName
public int getPrecedence()
ProcessEngineLookupgetPrecedence in interface ProcessEngineLookuppublic ProcessEngine getProcessEngine()
ProcessEngineLookupActivitiExtension, at startupgetProcessEngine in interface ProcessEngineLookupProcessEnginepublic String getProcessEngineName()
public void setProcessEngineName(String processEngineName)
public void ungetProcessEngine()
ProcessEngineLookupActivitiExtension, at shutdownungetProcessEngine in interface ProcessEngineLookupCopyright © 2016 Alfresco. All rights reserved.