public void runStepByStep() throws com.ebmwebsourcing.easyviper.core.api.CoreException { service.runStepByStep(); }
public void runStepByStep() 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."); } impl.runStepByStep(); }
@Override public void run() { try { this.log.finest("run the child execution : " + this.childExecution.getName()); if (childExecution.isStepByStep()) { this.childExecution.runStepByStep(); } else { this.childExecution.run(); } } catch (final Exception e) { e.printStackTrace(); this.exception = e; } }
@Override public void run() { try { this.log.finest("run the child execution : " + this.childExecution.getName()); if (childExecution.isStepByStep()) { this.childExecution.runStepByStep(); } else { this.childExecution.run(); } } catch (final Exception e) { e.printStackTrace(); this.exception = e; } }
public void runStepByStep() throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[11]); try { if( handlers.size() == 0 ) { impl.runStepByStep(); } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<com.ebmwebsourcing.easyviper.core.api.engine.Execution> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[11]); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof com.ebmwebsourcing.easyviper.core.api.CoreException ) { throw (com.ebmwebsourcing.easyviper.core.api.CoreException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public void runStepByStep() throws CoreException { this.log.finest("run process"); if((this.state == State.PROCESS_INACTIVE) || (this.state == State.PROCESS_ENDED)){ this.getMonitor().reset(); this.getMonitor().setStartTime(Calendar.getInstance().getTime()); } state = State.PROCESS_ACTIVE; try { this.createParentExecution(); this.log.finest("start parent execution"); if (!SCAHelper.getSCAHelper().isStarted( this.parentExecution)) { SCAHelper.getSCAHelper().startComponent( this.parentExecution); } this.log.finest("parent execution started"); this.log.finest("run the execution"); final Execution exec = (Execution) this.parentExecution .getFcInterface("service"); exec.runStepByStep(); } catch (final NoSuchInterfaceException e) { throw new CoreException(e); } catch (final SCAException e) { throw new CoreException(e); } this.log.finest("end of process"); }
try { if (validProcessOrExecution.isStepByStep()) { validProcessOrExecution.runStepByStep(); } else { validProcessOrExecution.run();
public void actionPerformed(final MenuItemTreeView e) { final Component ci = (Component) e.getSelectedObject(); try { final Object itf = ci.getFcInterface("service"); if (itf instanceof Execution) { if (!FractalHelper.getFractalHelper().isStarted(ci)) { FractalHelper.getFractalHelper().startComponent(ci); } ((Execution) itf).runStepByStep(); } } catch (final NoSuchInterfaceException e1) { e1.printStackTrace(); } catch (final CoreException e1) { e1.printStackTrace(); } }
try { if( handlers.size() == 0 ) { impl.runStepByStep();
@Override public void run() { try { if (validProcessOrExecution.isStepByStep()) { validProcessOrExecution.runStepByStep(); } else { validProcessOrExecution.run(); } } catch (Exception e) { if(e instanceof CoreException) { try { this.validProcessOrExecution.getParentScope().getProcess().getEngine().getCore().getExternalEnvironment().getSenders().get(0).sendTo((CoreException)e, context); } catch (CoreException e1) { this.validProcessOrExecution.setState(Execution.State.ENDED); try { this.validProcessOrExecution.end(); } catch (CoreException e2) { e1.printStackTrace(); log.severe(e1.getMessage()); } e1.printStackTrace(); log.severe(e1.getMessage()); } } else { e.printStackTrace(); log.severe(e.getMessage()); } } }