public com.ebmwebsourcing.easyviper.core.api.engine.Execution getExecution() { com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = service.getExecution(); return ret; }
public com.ebmwebsourcing.easyviper.core.api.engine.Execution getExecution() { if ( impl == null ) { throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound."); } com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = impl.getExecution(); return ret; }
public void setStateRecursively(final State state) { // TODO : in the case we set recursively SUSPENDED state, // there is a chance that a parent execution becomes SUSPENDED // whereas some child execution are still ACTIVE. // Instead of that, we should mark a parent execution as SUSPENDED // if and only if all child executions are ENDED or SUSPENDED. this.setState(state); try { if (!this.getParentScope().getName().equals( this.getParentScope().getProcess().getName())) { Execution parentScopeExecution = this.getParentScope().getExecution(); parentScopeExecution.setStateRecursively(state); } else if (getParentExecution() != null) { getParentExecution().setStateRecursively(state); } } catch (CoreException e) { log.severe("error: " + e.getMessage()); // do nothing } }
public void setStateRecursively(final State state) { // TODO : in the case we set recursively SUSPENDED state, // there is a chance that a parent execution becomes SUSPENDED // whereas some child execution are still ACTIVE. // Instead of that, we should mark a parent execution as SUSPENDED // if and only if all child executions are ENDED or SUSPENDED. this.setState(state); try { if (!this.getParentScope().getName().equals( this.getParentScope().getProcess().getName())) { Execution parentScopeExecution = this.getParentScope().getExecution(); if(parentScopeExecution!=null) { parentScopeExecution.setStateRecursively(state); } } else if (getParentExecution() != null) { getParentExecution().setStateRecursively(state); } } catch (CoreException e) { log.severe("error: " + e.getMessage()); // do nothing } }
try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = impl.getExecution(); return ret;
faultScope.getParentScope().linkedExecution2ExecutableElement(faultScope.getParentScope().getExecution(), faultScope); faultScope.getParentScope().linkedExecutableElement2Execution(faultScope, faultScope.getParentScope().getExecution());
faultScope.getParentScope().linkedExecution2ExecutableElement(faultScope.getParentScope().getExecution(), faultScope); faultScope.getParentScope().linkedExecutableElement2Execution(faultScope, faultScope.getParentScope().getExecution());
Scope scope = (Scope) this.getNode().getComponent().getFcInterface("service"); if (!SCAHelper.getSCAHelper().isStarted(scope.getExecution().getComponent())) { SCAHelper.getSCAHelper().startComponent(scope.getExecution().getComponent()); exec.setParentExecution(scope.getExecution());