public boolean isStepByStep() { boolean ret = service.isStepByStep(); return ret; }
public boolean isStepByStep() { 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."); } boolean ret = impl.isStepByStep(); return ret; }
@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 boolean isStepByStep() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[22]); try { if( handlers.size() == 0 ) { boolean ret = impl.isStepByStep(); return ret; } 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[22]); Object proceed = ijp.proceed(); boolean ret = (proceed==null) ? false : (java.lang.Boolean)proceed; return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
@Override public void run() { try { if (validProcessOrExecution.isStepByStep()) { validProcessOrExecution.runStepByStep(); } else {
try { if( handlers.size() == 0 ) { boolean ret = impl.isStepByStep(); return ret;
@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()); } } }
scope.linkInitialNodeAndExecution(); exec.setStepByStep(this.getNode().getExecution().isStepByStep());
scope.linkInitialNodeAndExecution(); exec.setStepByStep(this.getNode().getExecution().isStepByStep());