|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.bpel.engine.BpelProcess
public class BpelProcess
Entry point into the runtime of a BPEL process.
Field Summary | |
---|---|
static javax.xml.namespace.QName |
PROP_LAZY_HYDRATE
|
static javax.xml.namespace.QName |
PROP_MAX_INSTANCES
|
static javax.xml.namespace.QName |
PROP_PATH
|
static javax.xml.namespace.QName |
PROP_SVG
|
Constructor Summary | |
---|---|
BpelProcess(ProcessConf conf)
|
Method Summary | |
---|---|
protected DebuggerSupport |
createDebuggerSupport()
|
protected BpelRuntimeContextImpl |
createRuntimeContext(ProcessInstanceDAO dao,
PROCESS template,
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl instantiatingMessageExchange)
Create a version-appropriate runtime context. |
java.net.URI |
getBaseResourceURI()
Retrives the base URI to use for local resource resolution. |
java.util.Set<ProcessConf.CLEANUP_CATEGORY> |
getCleanupCategories(boolean instanceSucceeded)
|
ProcessConf |
getConf()
|
protected DebuggerSupport |
getDebuggerSupport()
|
protected BpelEngineImpl |
getEngine()
|
long |
getEstimatedHydratedSize()
|
ExternalVariableManager |
getEVM()
|
protected EndpointReference |
getInitialMyRoleEPR(OPartnerLink link)
|
protected Endpoint |
getInitialPartnerRoleEndpoint(OPartnerLink link)
|
protected EndpointReference |
getInitialPartnerRoleEPR(OPartnerLink link)
|
int |
getInstanceInUseCount()
|
int |
getInstanceMaximumCount()
|
long |
getLastUsed()
|
OProcess |
getOProcess()
|
protected PartnerRoleChannel |
getPartnerRoleChannel(OPartnerLink partnerLink)
|
javax.xml.namespace.QName |
getPID()
|
protected ProcessDAO |
getProcessDAO()
|
org.w3c.dom.Node |
getProcessProperty(javax.xml.namespace.QName propertyName)
|
java.lang.String |
getProcessProperty(javax.xml.namespace.QName property,
java.lang.String defaultValue)
|
ReplacementMap |
getReplacementMap(javax.xml.namespace.QName processName)
|
java.util.Set<Endpoint> |
getServiceNames()
Get all the services that are implemented by this process. |
long |
getTimeout(OPartnerLink partnerLink)
|
void |
handleWorkEvent(java.util.Map<java.lang.String,java.lang.Object> jobData)
|
boolean |
hasActiveInstances()
|
boolean |
hintIsHydrated()
Get a hint as to whether this process is hydrated. |
boolean |
isCleanupCategoryEnabled(boolean instanceSucceeded,
ProcessConf.CLEANUP_CATEGORY category)
|
boolean |
isHydrationLazy()
|
boolean |
isHydrationLazySet()
|
boolean |
isInMemory()
|
boolean |
processInterceptors(org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl mex,
InterceptorInvoker invoker)
Process the message-exchange interceptors. |
void |
recoverActivity(ProcessInstanceDAO instanceDAO,
java.lang.String channel,
long activityId,
java.lang.String action,
FaultData fault)
|
void |
registerMessageExchangeInterceptor(MessageExchangeInterceptor interceptor)
|
void |
saveEvent(ProcessInstanceEvent event,
ProcessInstanceDAO instanceDao)
|
void |
saveEvent(ProcessInstanceEvent event,
ProcessInstanceDAO instanceDao,
java.util.List<java.lang.String> scopeNames)
|
long |
sizeOf()
|
java.lang.String |
toString()
|
void |
unregisterMessageExchangeInterceptor(MessageExchangeInterceptor interceptor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final javax.xml.namespace.QName PROP_PATH
public static final javax.xml.namespace.QName PROP_SVG
public static final javax.xml.namespace.QName PROP_LAZY_HYDRATE
public static final javax.xml.namespace.QName PROP_MAX_INSTANCES
Constructor Detail |
---|
public BpelProcess(ProcessConf conf)
Method Detail |
---|
public java.net.URI getBaseResourceURI()
public java.lang.String toString()
toString
in class java.lang.Object
public ExternalVariableManager getEVM()
public void recoverActivity(ProcessInstanceDAO instanceDAO, java.lang.String channel, long activityId, java.lang.String action, FaultData fault)
protected DebuggerSupport createDebuggerSupport()
protected DebuggerSupport getDebuggerSupport()
public boolean processInterceptors(org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl mex, InterceptorInvoker invoker)
mex
- message exchange
true
if execution should continue, false
otherwisepublic void handleWorkEvent(java.util.Map<java.lang.String,java.lang.Object> jobData)
org.apache.ode.bpel.engine.BpelProcess#handleWorkEvent(java.util.Map)
protected ProcessDAO getProcessDAO()
public java.util.Set<Endpoint> getServiceNames()
protected EndpointReference getInitialPartnerRoleEPR(OPartnerLink link)
protected Endpoint getInitialPartnerRoleEndpoint(OPartnerLink link)
protected EndpointReference getInitialMyRoleEPR(OPartnerLink link)
public javax.xml.namespace.QName getPID()
protected PartnerRoleChannel getPartnerRoleChannel(OPartnerLink partnerLink)
public void saveEvent(ProcessInstanceEvent event, ProcessInstanceDAO instanceDao)
public void saveEvent(ProcessInstanceEvent event, ProcessInstanceDAO instanceDao, java.util.List<java.lang.String> scopeNames)
public OProcess getOProcess()
public ReplacementMap getReplacementMap(javax.xml.namespace.QName processName)
protected BpelEngineImpl getEngine()
public boolean isInMemory()
public long getLastUsed()
public boolean hintIsHydrated()
protected BpelRuntimeContextImpl createRuntimeContext(ProcessInstanceDAO dao, PROCESS template, org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl instantiatingMessageExchange)
public int getInstanceInUseCount()
public boolean isCleanupCategoryEnabled(boolean instanceSucceeded, ProcessConf.CLEANUP_CATEGORY category)
public java.util.Set<ProcessConf.CLEANUP_CATEGORY> getCleanupCategories(boolean instanceSucceeded)
public org.w3c.dom.Node getProcessProperty(javax.xml.namespace.QName propertyName)
public ProcessConf getConf()
public boolean hasActiveInstances()
public void registerMessageExchangeInterceptor(MessageExchangeInterceptor interceptor)
public void unregisterMessageExchangeInterceptor(MessageExchangeInterceptor interceptor)
public long sizeOf()
public java.lang.String getProcessProperty(javax.xml.namespace.QName property, java.lang.String defaultValue)
public boolean isHydrationLazy()
public boolean isHydrationLazySet()
public int getInstanceMaximumCount()
public long getEstimatedHydratedSize()
public long getTimeout(OPartnerLink partnerLink)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |