public com.ebmwebsourcing.easyviper.core.api.engine.Execution createExecution(final java.lang.String arg0) throws com.ebmwebsourcing.easyviper.core.api.CoreException { com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = service.createExecution(arg0); return ret; }
public com.ebmwebsourcing.easyviper.core.api.engine.Execution createExecution(final java.lang.String arg0) throws com.ebmwebsourcing.easyviper.core.api.CoreException { 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.createExecution(arg0); return ret; }
/** * @throws CoreException * @see Execution#createChildExecution(String) */ public Execution createChildExecution(final String name) throws CoreException { // create child execution final Execution childExecution = this.getParentScope().createExecution( this.getName() + "_child_" + this.childExecutions.size()); final Component exeChildComp = FractalHelper.getFractalHelper() .getComponentByInterface(this.getParentScope().getComponent(), (org.objectweb.fractal.api.Interface) childExecution, "service"); FractalHelper.getFractalHelper().startComponent(exeChildComp); childExecution.setStepByStep(this.stepByStep); childExecution.setSpeedTime(this.speedTime); this.log.finest("creating " + childExecution.getName()); // add it to this execution this.addExecution(childExecution); return childExecution; }
/** * @throws CoreException * @see Execution#createChildExecution(String) */ public Execution createChildExecution() throws CoreException { // create child execution final Execution childExecution = this.getParentScope().createExecution( this.getName() + "_child_" + this.childExecutions.size()); try { final Component exeChildComp = SCAHelper.getSCAHelper() .getComponentByInterface(this.getParentScope().getComponent(), (org.objectweb.fractal.api.Interface) childExecution, "service"); SCAHelper.getSCAHelper().startComponent(exeChildComp); childExecution.setStepByStep(this.stepByStep); childExecution.setSpeedTime(this.speedTime); this.log.finest("creating " + childExecution.getName()); // add it to this execution this.addExecution(childExecution); } catch(SCAException e) { throw new CoreException(e); } return childExecution; }
try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = impl.createExecution(arg0); return ret;
Execution exec = null; if(execComp == null) { exec = scope.createExecution("exec_in_" + scope.getName()); execComp = FractalHelper.getFractalHelper().getComponentByInterface(this.getNode().getComponent(), (Interface) exec, "service"); } else {
Execution exec = null; if(execComp == null) { exec = scope.createExecution("exec_in_" + scope.getName()); execComp = SCAHelper.getSCAHelper().getComponentByInterface(this.getNode().getComponent(), (Interface) exec, "service"); } else {