public com.ebmwebsourcing.easyviper.core.api.engine.Process createNewEmptyProcessInstance(final javax.xml.namespace.QName arg0,final com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinition arg1) throws com.ebmwebsourcing.easyviper.core.api.CoreException { com.ebmwebsourcing.easyviper.core.api.engine.Process ret = service.createNewEmptyProcessInstance(arg0,arg1); return ret; }
public com.ebmwebsourcing.easyviper.core.api.engine.Process createNewEmptyProcessInstance(final javax.xml.namespace.QName arg0,final com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinition arg1) 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.Process ret = impl.createNewEmptyProcessInstance(arg0,arg1); return ret; }
@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 com.ebmwebsourcing.easyviper.core.api.engine.Process createNewEmptyProcessInstance(final javax.xml.namespace.QName arg0,final com.ebmwebsourcing.easyviper.core.api.model.registry.definition.ProcessDefinition arg1) throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[7]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Process ret = impl.createNewEmptyProcessInstance(arg0,arg1); 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.Engine> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[7],(Object)arg0,(Object)arg1); com.ebmwebsourcing.easyviper.core.api.engine.Process ret = (com.ebmwebsourcing.easyviper.core.api.engine.Process) ijp.proceed(); return ret; } } 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); } }
try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Process ret = impl.createNewEmptyProcessInstance(arg0,arg1); return ret;
.getCore() .getEngine() .createNewEmptyProcessInstance( new QName(bpelProcessDefinition.getQName() + "_" + System.nanoTime()), bpelProcessDefinition);