* @param exctx provides the execution context
* @param statesToInvoke the set of activated states which invokes need to be invoked
*/
public void initiateInvokes(final SCXMLExecutionContext exctx,
final Set<TransitionalState> statesToInvoke) {
SCInstance scInstance = exctx.getScInstance();
Evaluator eval = exctx.getEvaluator();
for (TransitionalState ts : statesToInvoke) {
if (ts.getInvokes().isEmpty()) {
continue;
}
Context context = scInstance.getContext(ts);
for (Invoke i : ts.getInvokes()) {
String src = i.getSrc();
if (src == null) {
String srcexpr = i.getSrcexpr();
Object srcObj;