org.apache.ode.bpel.extension
Interface ExtensionOperation


public interface ExtensionOperation

This is the basis interface for implementations of <extensionAssignOperation> and <extensionActivity> nodes. Implementations of this interface must provide a default constructor as they are created using reflection.

Author:
Tammo van Lessen (University of Stuttgart)
See Also:
AbstractExtensionBundle

Method Summary
 void run(java.lang.Object context, java.lang.String cid, org.w3c.dom.Element element)
          Provides the runtime implementation.
 

Method Detail

run

void run(java.lang.Object context,
         java.lang.String cid,
         org.w3c.dom.Element element)
         throws FaultException
Provides the runtime implementation. Note: This method MAY run concurrently. Since Xerces' DOM implementation is not thread-safe, please make sure to synchronize the access to element if necessary.

Parameters:
context - injected ExtensionContext
cid - channel id (needed for async completion)
element - the extension element (child of extensionActivity or extensionAssignOperation
Throws:
FaultException


Copyright © 2015 WSO2. All Rights Reserved.