public class BpelEngineImpl extends java.lang.Object implements BpelEngine
BpelEngine interface: provides the server methods that should be invoked in the context of a
transaction.| Modifier and Type | Field and Description |
|---|---|
java.util.HashMap<javax.xml.namespace.QName,BpelProcess> |
_activeProcesses
Active processes, keyed by process id.
|
| Constructor and Description |
|---|
BpelEngineImpl(Contexts contexts) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireInstanceLock(java.lang.Long iid) |
MyRoleMessageExchange |
createMessageExchange(java.lang.String clientKey,
javax.xml.namespace.QName targetService,
java.lang.String operation) |
MyRoleMessageExchange |
createMessageExchange(java.lang.String clientKey,
javax.xml.namespace.QName targetService,
java.lang.String operation,
java.lang.String pipedMexId) |
MyRoleMessageExchange |
createMessageExchange(java.lang.String clientKey,
javax.xml.namespace.QName targetService,
java.lang.String operation,
java.lang.String pipedMexId,
java.lang.String deployer) |
protected PartnerRoleMessageExchangeImpl |
createPartnerRoleMessageExchangeImpl(MessageExchangeDAO mexdao,
javax.wsdl.PortType ptype,
javax.wsdl.Operation op,
OPartnerLink plink,
BpelProcess process) |
boolean |
dehydrateLastUnusedProcess()
Returns true if the last used process was dehydrated because it was not in-use.
|
long |
getHydratedFootprint() |
int |
getHydratedProcessCount(javax.xml.namespace.QName processName) |
long |
getHydratedProcessSize(javax.xml.namespace.QName processName) |
int |
getInstanceThrottledMaximumCount() |
MessageExchange |
getMessageExchange(java.lang.String mexId) |
BpelProcess |
getNewestProcessByType(javax.xml.namespace.QName processType) |
BpelProcess |
getProcess(javax.xml.namespace.QName pid) |
int |
getProcessThrottledMaximumCount() |
long |
getProcessThrottledMaximumSize() |
SharedEndpoints |
getSharedEndpoints() |
long |
getTotalBpelFootprint() |
void |
onScheduledJob(Scheduler.JobInfo jobInfo) |
void |
registerMessageExchangeInterceptor(MessageExchangeInterceptor interceptor) |
void |
sendMyRoleFault(BpelProcess process,
Scheduler.JobDetails we,
int causeCode) |
void |
sendMyRoleFault(BpelProcess process,
Scheduler.JobDetails we,
InvalidProcessException ipe) |
void |
setHazelcastInstance(com.hazelcast.core.HazelcastInstance instance) |
void |
setInstanceThrottledMaximumCount(int instanceThrottledMaximumCount) |
void |
setProcessSize(javax.xml.namespace.QName processId,
boolean hydratedOnce) |
void |
setProcessThrottledMaximumCount(int hydrationThrottledMaximumCount) |
void |
setProcessThrottledMaximumSize(long hydrationThrottledMaximumSize) |
void |
unregisterMessageExchangeInterceptor(java.lang.Class interceptorClass) |
void |
unregisterMessageExchangeInterceptor(MessageExchangeInterceptor interceptor) |
public final java.util.HashMap<javax.xml.namespace.QName,BpelProcess> _activeProcesses
public BpelEngineImpl(Contexts contexts)
public void setHazelcastInstance(com.hazelcast.core.HazelcastInstance instance)
public SharedEndpoints getSharedEndpoints()
public MyRoleMessageExchange createMessageExchange(java.lang.String clientKey, javax.xml.namespace.QName targetService, java.lang.String operation, java.lang.String pipedMexId, java.lang.String deployer) throws BpelEngineException
createMessageExchange in interface BpelEngineBpelEngineExceptionpublic MyRoleMessageExchange createMessageExchange(java.lang.String clientKey, javax.xml.namespace.QName targetService, java.lang.String operation, java.lang.String pipedMexId) throws BpelEngineException
BpelEngineExceptionpublic MyRoleMessageExchange createMessageExchange(java.lang.String clientKey, javax.xml.namespace.QName targetService, java.lang.String operation)
createMessageExchange in interface BpelEnginepublic MessageExchange getMessageExchange(java.lang.String mexId)
getMessageExchange in interface BpelEngineprotected PartnerRoleMessageExchangeImpl createPartnerRoleMessageExchangeImpl(MessageExchangeDAO mexdao, javax.wsdl.PortType ptype, javax.wsdl.Operation op, OPartnerLink plink, BpelProcess process)
public BpelProcess getProcess(javax.xml.namespace.QName pid)
public void acquireInstanceLock(java.lang.Long iid)
public void onScheduledJob(Scheduler.JobInfo jobInfo) throws Scheduler.JobProcessorException
onScheduledJob in interface Scheduler.JobProcessorScheduler.JobProcessorExceptionpublic void registerMessageExchangeInterceptor(MessageExchangeInterceptor interceptor)
public void unregisterMessageExchangeInterceptor(MessageExchangeInterceptor interceptor)
public void unregisterMessageExchangeInterceptor(java.lang.Class interceptorClass)
public long getTotalBpelFootprint()
public long getHydratedFootprint()
public long getHydratedProcessSize(javax.xml.namespace.QName processName)
getHydratedProcessSize in interface BpelEnginepublic int getHydratedProcessCount(javax.xml.namespace.QName processName)
getHydratedProcessCount in interface BpelEnginepublic void setInstanceThrottledMaximumCount(int instanceThrottledMaximumCount)
public int getInstanceThrottledMaximumCount()
public void setProcessThrottledMaximumCount(int hydrationThrottledMaximumCount)
public int getProcessThrottledMaximumCount()
getProcessThrottledMaximumCount in interface BpelEnginepublic void setProcessThrottledMaximumSize(long hydrationThrottledMaximumSize)
public long getProcessThrottledMaximumSize()
getProcessThrottledMaximumSize in interface BpelEnginepublic void setProcessSize(javax.xml.namespace.QName processId,
boolean hydratedOnce)
public boolean dehydrateLastUnusedProcess()
dehydrateLastUnusedProcess in interface BpelEnginepublic void sendMyRoleFault(BpelProcess process, Scheduler.JobDetails we, InvalidProcessException ipe)
public void sendMyRoleFault(BpelProcess process, Scheduler.JobDetails we, int causeCode)
public BpelProcess getNewestProcessByType(javax.xml.namespace.QName processType)
Copyright © 2021 WSO2. All Rights Reserved.