public Object clone() { EngineInterceptorSCAIntent clone = new EngineInterceptorSCAIntent(getFcItfDelegate()); initFcClone(clone); clone.initIntentHandlersMap(METHODS); return clone; }
private EngineInterceptorSCAIntent(Object obj) { setFcItfDelegate(obj); }
public void setInternalMessageType(final java.lang.Class arg0) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[3]); try { if( handlers.size() == 0 ) { impl.setInternalMessageType(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.Engine> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[3],(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 void initFcController(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { super.initFcController(ic); initIntentHandlersMap(METHODS); }
public org.objectweb.fractal.api.Component newFcInstance(Object content) throws org.objectweb.fractal.api.factory.InstantiationException { org.objectweb.fractal.julia.InitializationContext ic = newFcInitializationContext(content); ic.content = com.ebmwebsourcing.easyviper.core.impl.env.ExternalEnvironmentImpl.class; org.objectweb.fractal.api.Interface proxy; Object intercept; org.objectweb.fractal.api.Component proxyForCompCtrl = (org.objectweb.fractal.api.Component) ic.interfaces.get("component"); ic.type = new org.objectweb.fractal.julia.type.BasicComponentType( new org.objectweb.fractal.api.type.InterfaceType[]{new org.objectweb.fractal.julia.type.BasicInterfaceType("binding-controller","org.objectweb.fractal.api.control.BindingController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("content-controller","org.objectweb.fractal.api.control.ContentController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("sca-intent-controller","org.ow2.frascati.tinfi.api.control.SCAIntentController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("sca-component-controller","org.oasisopen.sca.ComponentContext",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("lifecycle-controller","org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("/sca-content-controller","org.ow2.frascati.tinfi.control.content.SCAExtendedContentController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("sca-property-controller","org.ow2.frascati.tinfi.api.control.SCAPropertyController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("component","org.objectweb.fractal.api.Component",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("super-controller","org.objectweb.fractal.julia.control.content.SuperControllerNotifier",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("name-controller","org.objectweb.fractal.api.control.NameController",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("service","com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment",false,false,false),new org.objectweb.fractal.julia.type.BasicInterfaceType("engine","com.ebmwebsourcing.easyviper.core.api.engine.Engine",true,false,false),} ); intercept = new com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironmentInterceptorSCALCb56bb98SCACCIntent(); ic.controllers.add(intercept); ((org.objectweb.fractal.julia.Interceptor)intercept).setFcItfDelegate(content); proxy = new com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironmentFcInItf(proxyForCompCtrl,"service",new org.objectweb.fractal.julia.type.BasicInterfaceType("service","com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment",false,false,false),false,intercept); ic.interfaces.put("service",proxy); (( org.ow2.frascati.tinfi.TinfiComponentInterceptor )intercept).setFcItf(proxy); proxy = new com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironmentFcOutItf(proxyForCompCtrl,"service",new org.objectweb.fractal.julia.type.BasicInterfaceType("service","com.ebmwebsourcing.easyviper.core.api.env.ExternalEnvironment",true,false,false),true,intercept); ic.internalInterfaces.put("service",proxy); intercept = new com.ebmwebsourcing.easyviper.core.api.engine.EngineInterceptorSCAIntent(); ic.controllers.add(intercept); proxy = new com.ebmwebsourcing.easyviper.core.api.engine.EngineFcOutItf(proxyForCompCtrl,"engine",new org.objectweb.fractal.julia.type.BasicInterfaceType("engine","com.ebmwebsourcing.easyviper.core.api.engine.Engine",true,false,false),false,intercept); ic.interfaces.put("engine",proxy); (( org.ow2.frascati.tinfi.TinfiComponentInterceptor )intercept).setFcItf(proxy); proxy = new com.ebmwebsourcing.easyviper.core.api.engine.EngineFcInItf(proxyForCompCtrl,"engine",new org.objectweb.fractal.julia.type.BasicInterfaceType("engine","com.ebmwebsourcing.easyviper.core.api.engine.Engine",false,false,false),true,intercept); ic.internalInterfaces.put("engine",proxy); initFcController(ic); return proxyForCompCtrl; }
public void setName(final java.lang.String arg0) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[18]); try { if( handlers.size() == 0 ) { impl.setName(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.Engine> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[18],(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 com.ebmwebsourcing.easyviper.core.api.engine.Process findProcessFromName(final java.lang.String arg0) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[15]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.Process ret = impl.findProcessFromName(arg0); 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[15],(Object)arg0); 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 RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public void setLog(final java.util.logging.Logger arg0) { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[2]); try { if( handlers.size() == 0 ) { impl.setLog(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.Engine> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[2],(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 java.lang.String getName() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[17]); 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.Engine> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[17]); 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); } }
public void sendTo(final com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?> arg0,final com.ebmwebsourcing.easyviper.core.api.soa.Endpoint arg1,final java.util.Map<com.ebmwebsourcing.easyviper.core.api.soa.Endpoint,java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.env.ExternalContext>> arg2) throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[8]); try { if( handlers.size() == 0 ) { impl.sendTo(arg0,arg1,arg2); } 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[8],(Object)arg0,(Object)arg1,(Object)arg2); 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 java.lang.ClassLoader getClassLoader() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[0]); try { if( handlers.size() == 0 ) { java.lang.ClassLoader ret = impl.getClassLoader(); 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[0]); java.lang.ClassLoader ret = (java.lang.ClassLoader) 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.registry.ProcessInstanceRegistry getProcessInstanceRegistry() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[11]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.registry.ProcessInstanceRegistry ret = impl.getProcessInstanceRegistry(); 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[11]); com.ebmwebsourcing.easyviper.core.api.engine.registry.ProcessInstanceRegistry ret = (com.ebmwebsourcing.easyviper.core.api.engine.registry.ProcessInstanceRegistry) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
public void flushMessagesInRegistry() throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[10]); try { if( handlers.size() == 0 ) { impl.flushMessagesInRegistry(); } 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[10]); 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 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); } }
public void destroySCAComponent() throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[23]); 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.Engine> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[23]); 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 void deleteProcess(final com.ebmwebsourcing.easyviper.core.api.engine.Process arg0) throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[12]); try { if( handlers.size() == 0 ) { impl.deleteProcess(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.Engine> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[12],(Object)arg0); 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 stopSCAComponent() throws com.ebmwebsourcing.easycommons.sca.helper.api.SCAException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[22]); try { if( handlers.size() == 0 ) { impl.stopSCAComponent(); } 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[22]); 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.Core getCore() throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[5]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.Core ret = impl.getCore(); 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[5]); com.ebmwebsourcing.easyviper.core.api.Core ret = (com.ebmwebsourcing.easyviper.core.api.Core) 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); } }
public com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?> sendSyncTo(final com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?> arg0,final com.ebmwebsourcing.easyviper.core.api.soa.Endpoint arg1,final java.util.Map<com.ebmwebsourcing.easyviper.core.api.soa.Endpoint,java.util.Map<java.lang.String,com.ebmwebsourcing.easyviper.core.api.env.ExternalContext>> arg2) throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[9]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?> ret = impl.sendSyncTo(arg0,arg1,arg2); 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[9],(Object)arg0,(Object)arg1,(Object)arg2); com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?> ret = (com.ebmwebsourcing.easyviper.core.api.soa.message.InternalMessage<?>) 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); } }
public com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager getServiceManager() { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[4]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager ret = impl.getServiceManager(); 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[4]); com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager ret = (com.ebmwebsourcing.easyviper.core.api.engine.thread.service.ServiceManager) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }