public Object clone() { ExecutionInterceptorSCAIntent clone = new ExecutionInterceptorSCAIntent(getFcItfDelegate()); initFcClone(clone); clone.initIntentHandlersMap(METHODS); return clone; }
private ExecutionInterceptorSCAIntent(Object obj) { setFcItfDelegate(obj); }
public com.ebmwebsourcing.easyviper.core.api.engine.Execution.State getState() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[1]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Execution.State ret = impl.getState(); 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[1]); com.ebmwebsourcing.easyviper.core.api.engine.Execution.State ret = (com.ebmwebsourcing.easyviper.core.api.engine.Execution.State) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
ic.interfaces.put("service",proxy); (( org.ow2.frascati.tinfi.TinfiComponentInterceptor )intercept).setFcItf(proxy); intercept = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionInterceptorSCAIntent(); ic.controllers.add(intercept); proxy = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionFcOutItf(proxyForCompCtrl,"parentExec",new org.objectweb.fractal.julia.type.BasicInterfaceType("parentExec","com.ebmwebsourcing.easyviper.core.api.engine.Execution",true,true,false),false,intercept); ic.interfaces.put("currentTarget",proxy); (( org.ow2.frascati.tinfi.TinfiComponentInterceptor )intercept).setFcItf(proxy); intercept = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionInterceptorSCAIntent(); ic.controllers.add(intercept); proxy = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionFcOutItf(proxyForCompCtrl,"/collection/childs",new org.objectweb.fractal.julia.type.BasicInterfaceType("childs","com.ebmwebsourcing.easyviper.core.api.engine.Execution",true,true,true),false,intercept);
public void initFcController(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { super.initFcController(ic); initIntentHandlersMap(METHODS); }
public java.lang.String getName() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[27]); try { if( handlers.size() == 0 ) { java.lang.String ret = impl.getName(); 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[27]); java.lang.String ret = (java.lang.String) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
proxy = new com.ebmwebsourcing.easyviper.core.api.engine.NodeFcInItf(proxyForCompCtrl,"/collection/childNodes",new org.objectweb.fractal.julia.type.BasicInterfaceType("childNodes","com.ebmwebsourcing.easyviper.core.api.engine.Node",false,true,true),true,intercept); ic.internalInterfaces.put("/collection/childNodes",proxy); intercept = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionInterceptorSCAIntent(); ic.controllers.add(intercept); proxy = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionFcOutItf(proxyForCompCtrl,"execution",new org.objectweb.fractal.julia.type.BasicInterfaceType("execution","com.ebmwebsourcing.easyviper.core.api.engine.Execution",true,true,false),false,intercept);
public com.ebmwebsourcing.easyviper.core.api.engine.Node getCurrentTarget() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[10]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Node ret = impl.getCurrentTarget(); 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[10]); com.ebmwebsourcing.easyviper.core.api.engine.Node ret = (com.ebmwebsourcing.easyviper.core.api.engine.Node) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
ic.interfaces.put("/collection/childNodes",proxy); (( org.ow2.frascati.tinfi.TinfiComponentInterceptor )intercept).setFcItf(proxy); intercept = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionInterceptorSCAIntent(); ic.controllers.add(intercept); proxy = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionFcOutItf(proxyForCompCtrl,"execution",new org.objectweb.fractal.julia.type.BasicInterfaceType("execution","com.ebmwebsourcing.easyviper.core.api.engine.Execution",true,true,false),false,intercept);
public void setNextExecutableElements(final com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent arg0,final java.util.Collection<? extends com.ebmwebsourcing.easyviper.core.api.engine.Node> arg1) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[26]); try { if( handlers.size() == 0 ) { impl.setNextExecutableElements(arg0,arg1); } 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[26],(Object)arg0,(Object)arg1); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
proxy = new com.ebmwebsourcing.easyviper.core.api.engine.NodeFcInItf(proxyForCompCtrl,"/collection/childNodes",new org.objectweb.fractal.julia.type.BasicInterfaceType("childNodes","com.ebmwebsourcing.easyviper.core.api.engine.Node",false,true,true),true,intercept); ic.internalInterfaces.put("/collection/childNodes",proxy); intercept = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionInterceptorSCAIntent(); ic.controllers.add(intercept); proxy = new com.ebmwebsourcing.easyviper.core.api.engine.ExecutionFcOutItf(proxyForCompCtrl,"execution",new org.objectweb.fractal.julia.type.BasicInterfaceType("execution","com.ebmwebsourcing.easyviper.core.api.engine.Execution",true,true,false),false,intercept);
public void setSpeedTime(final long arg0) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[20]); try { if( handlers.size() == 0 ) { impl.setSpeedTime(arg0); } 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[20],(Object)arg0); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public long getSpeedTime() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[21]); try { if( handlers.size() == 0 ) { long ret = impl.getSpeedTime(); 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[21]); Object proceed = ijp.proceed(); long ret = (proceed==null) ? 0 : (java.lang.Long)proceed; return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public void setNextExecutableElements(final com.ebmwebsourcing.easycommons.sca.helper.api.SCAComponent arg0,final com.ebmwebsourcing.easyviper.core.api.engine.Node arg1) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[25]); try { if( handlers.size() == 0 ) { impl.setNextExecutableElements(arg0,arg1); } 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[25],(Object)arg0,(Object)arg1); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public void createSCAComponent() throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[30]); try { if( handlers.size() == 0 ) { impl.createSCAComponent(); } 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[30]); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof com.ebmwebsourcing.easycommons.sca.helper.api.SCAException ) { throw (com.ebmwebsourcing.easycommons.sca.helper.api.SCAException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Execution> getChildExecutions() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[14]); try { if( handlers.size() == 0 ) { java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Execution> ret = impl.getChildExecutions(); 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[14]); java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Execution> ret = (java.util.List<com.ebmwebsourcing.easyviper.core.api.engine.Execution>) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public com.ebmwebsourcing.easyviper.core.api.engine.Execution getParentExecution() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[9]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = impl.getParentExecution(); 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[9]); com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = (com.ebmwebsourcing.easyviper.core.api.engine.Execution) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public void removeChildExecutions() throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[15]); try { if( handlers.size() == 0 ) { impl.removeChildExecutions(); } 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[15]); 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 destroySCAComponent() throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[33]); try { if( handlers.size() == 0 ) { impl.destroySCAComponent(); } 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[33]); ijp.proceed(); Object ret = null; } } catch( Throwable t ) { if( t instanceof com.ebmwebsourcing.easycommons.sca.helper.api.SCAException ) { throw (com.ebmwebsourcing.easycommons.sca.helper.api.SCAException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public com.ebmwebsourcing.easyviper.core.api.engine.Execution createChildExecution() throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[13]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = impl.createChildExecution(); 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[13]); com.ebmwebsourcing.easyviper.core.api.engine.Execution ret = (com.ebmwebsourcing.easyviper.core.api.engine.Execution) 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); } }