public void run() throws com.ebmwebsourcing.easyviper.core.api.CoreException { service.run(); }
public void run() 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.run(); }
public void actionPerformed(final MenuItemTreeView e) { final Process process = (Process) e.getSelectedObject(); try { process.run(); } catch (final CoreException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } }
@Override public Process compile(ProcessDefinition def) throws CoreException { Process process = null; if (def == null) { throw new CoreException("process def cannot be null !!!"); } this.log.finest("start the compilation"); process = this .getModel() .getCore() .getEngine() .createNewEmptyProcessInstance( new QName(def.getQName() + "_" + System.nanoTime()), def); // BPELAssigner bpelAssigner = new BPELAssigner(bpelProcessDefinition); // bpelAssigner.setLog(this.log); // process.setAssigner(bpelAssigner); this.log.finest("empty process create"); Node initial = null; // affect variables in process // this.affectVariablesInScope(bpelProcessDefinition, // bpelProcessDefinition, process); process.run(); this.log.finest("end of the compilation"); return process; }
public void actionPerformed(final MenuItemTreeView e) { final Component ci = (Component) e.getSelectedObject(); try { final Object itf = ci.getFcInterface("service"); if (itf instanceof Process) { if (!FractalHelper.getFractalHelper().isStarted(ci)) { FractalHelper.getFractalHelper().startComponent(ci); } ((Process) itf).run(); } } catch (final NoSuchInterfaceException e1) { e1.printStackTrace(); } catch (final CoreException e1) { e1.printStackTrace(); } }
try { if( handlers.size() == 0 ) { impl.run();
public void actionPerformed(final MenuItemTreeView e) { final Component ci = (Component) e.getSelectedObject(); try { final Object itf = ci.getFcInterface("service"); if (itf instanceof Process) { ((Process) itf).run(); } else if (itf instanceof Execution) { if (!FractalHelper.getFractalHelper().isStarted(ci)) { FractalHelper.getFractalHelper().startComponent(ci); } ((Execution) itf).run(); } } catch (final NoSuchInterfaceException e1) { e1.printStackTrace(); } catch (final CoreException e1) { e1.printStackTrace(); } }