public abstract class AbstractLongRunningExtensionOperation extends BpelJacobRunnable implements ExtensionOperation
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
_cid |
protected org.w3c.dom.Element |
_element |
protected ExtensionContext |
_extensionContext |
protected static org.apache.commons.logging.Log |
_log |
| Constructor and Description |
|---|
AbstractLongRunningExtensionOperation() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
onRequestReceived(java.lang.String mexId)
Called when the response for the above service is received
|
void |
registerForNotification(java.lang.String notificationChannelId)
Extension should be registered with correlation values, notification id in order to find
a route for the response message
TODO we may remove this method by introducing another method to set correlatorID.
|
void |
run() |
void |
run(java.lang.Object context,
java.lang.String cid,
org.w3c.dom.Element element) |
abstract void |
runAsync(ExtensionContext context,
java.lang.String cid,
org.w3c.dom.Element element)
Implementation of the extension.
|
void |
setCid(java.lang.String cid) |
void |
setElement(org.w3c.dom.Element tempElement) |
void |
setExtensionContext(ExtensionContext extensionContext) |
void |
updateExtensionContext(BpelRuntimeContext context) |
createChild, createFault, createFault, createFault, genMonotonic, getBpelRuntimeContext, initializeCorrelation, loggetImplementedMethods, toStringgetClassName, getExtension, getMethod, importChannel, instance, newChannel, newChannel, object, object, object, object, replication, replicationprotected static org.apache.commons.logging.Log _log
protected ExtensionContext _extensionContext
protected java.lang.String _cid
protected org.w3c.dom.Element _element
public AbstractLongRunningExtensionOperation()
public void setExtensionContext(ExtensionContext extensionContext)
public void setCid(java.lang.String cid)
public void setElement(org.w3c.dom.Element tempElement)
public abstract void runAsync(ExtensionContext context, java.lang.String cid, org.w3c.dom.Element element) throws FaultException
context - ExtensionContextcid - cidelement - ExtensionActivityFaultException - If an error occurspublic void registerForNotification(java.lang.String notificationChannelId)
notificationChannelId - Channel idpublic abstract void onRequestReceived(java.lang.String mexId)
throws FaultException
mexId - MessageExchange idFaultExceptionpublic void updateExtensionContext(BpelRuntimeContext context)
public void run()
run in class JacobRunnablepublic void run(java.lang.Object context,
java.lang.String cid,
org.w3c.dom.Element element)
throws FaultException
run in interface ExtensionOperationFaultExceptionCopyright © 2021 WSO2. All Rights Reserved.