Map.Entry entry = (Map.Entry) iter.next();
rootCtx.setLocal((String) entry.getKey(), entry.getValue());
}
executor.setRootContext(rootCtx);
executor.setStateMachine(scxml);
executor.addListener(scxml, new SimpleSCXMLListener());
executor.registerInvokerClass("scxml", this.getClass());
try {
executor.go();
} catch (ModelException me) {
throw new InvokerException(me.getMessage(), me.getCause());