Class ByProcessInstanceIdContainerLocator
- java.lang.Object
-
- org.kie.server.services.jbpm.locator.ProcessContainerLocator
-
- org.kie.server.services.jbpm.locator.ByProcessInstanceIdContainerLocator
-
- All Implemented Interfaces:
org.kie.server.services.api.ContainerLocator
public class ByProcessInstanceIdContainerLocator extends ProcessContainerLocator
Locates container id for given process instance id. To improve performance the operation of locating the container id is done only once and stored as part of the instance of this class so in case of multiple method calls will require it single instance of this class should be used to avoid too many look ups.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByProcessInstanceIdContainerLocator.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringinvokeQuery(javax.persistence.EntityManager em, Long processInstanceId)-
Methods inherited from class org.kie.server.services.jbpm.locator.ProcessContainerLocator
locateContainer
-
-
-
-
Method Detail
-
invokeQuery
protected String invokeQuery(javax.persistence.EntityManager em, Long processInstanceId)
- Specified by:
invokeQueryin classProcessContainerLocator
-
-