/** * @see org.ow2.frascati.tinfi.control.intent.LifeCycleIntentMixin#addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler,java.lang.String) */ public void addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler handler, java.lang.String name) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalLifeCycleException { checkFcStopped(); addFcIntentHandler$0(handler, name); }
/** * @see org.ow2.frascati.tinfi.control.intent.LifeCycleIntentMixin#removeFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler) */ public void removeFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler handler) throws org.objectweb.fractal.api.control.IllegalLifeCycleException { checkFcStopped(); removeFcIntentHandler$0(handler); }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCACompositeIntentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCACompositePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.CompositeBindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.CompositeLifeCycleControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.intent.SCABasicIntentControllerMixin#removeFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler) */ private void removeFcIntentHandler$0(org.ow2.frascati.tinfi.api.IntentHandler handler) { java.util.Map<java.lang.String, org.ow2.frascati.tinfi.TinfiComponentInterceptor<?>> interceptors = getFcInterceptors(); java.util.Collection<org.ow2.frascati.tinfi.TinfiComponentInterceptor<?>> tcis = interceptors.values(); for (org.ow2.frascati.tinfi.TinfiComponentInterceptor<?> tci : tcis) { tci.removeIntentHandler(handler); } }
/** * @see org.objectweb.fractal.julia.UseComponentMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$1(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableC = ((org.objectweb.fractal.api.Component) (ic.getInterface("component"))); weaveableOptC = weaveableC; initFcController$2(ic); }
/** * @see org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ public void initFcController(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableOptLC = ((org.objectweb.fractal.api.control.LifeCycleController) (ic.getOptionalInterface("lifecycle-controller"))); initFcController$0(ic); }
/** * @see org.objectweb.fractal.julia.control.name.UseNameControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$0(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableOptNC = ((org.objectweb.fractal.api.control.NameController) (ic.getOptionalInterface("name-controller"))); initFcController$1(ic); }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCACompositeIntentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCACompositePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.CompositeBindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.CompositeLifeCycleControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.intent.SCABasicIntentControllerMixin#addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler) */ private void addFcIntentHandler$0(org.ow2.frascati.tinfi.api.IntentHandler handler) { java.util.Map<java.lang.String, org.ow2.frascati.tinfi.TinfiComponentInterceptor<?>> interceptors = getFcInterceptors(); for (java.lang.String name : interceptors.keySet()) { if ((name.endsWith("-controller")) || (name.equals("component"))) { continue; } org.ow2.frascati.tinfi.TinfiComponentInterceptor<?> tci = interceptors.get(name); tci.addIntentHandler(handler); } }
/** * @see org.ow2.frascati.tinfi.control.intent.LifeCycleIntentMixin#addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler,java.lang.Class<T>,java.lang.String) */ public <T extends java.lang.annotation.Annotation> void addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler handler, java.lang.Class<T> annotcl, java.lang.String value) throws org.objectweb.fractal.api.control.IllegalLifeCycleException { checkFcStopped(); addFcIntentHandler$0(handler, annotcl, value); }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.CompositeBindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.CompositeLifeCycleControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCACompositePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCACompositeIntentControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.intent.LifeCycleIntentMixin#removeFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler,java.lang.String) */ public void removeFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler handler, java.lang.String name) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalLifeCycleException { checkFcStopped(); removeFcIntentHandler$0(handler, name); }
/** * @see org.ow2.frascati.tinfi.control.intent.SCABasicIntentControllerMixin#addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler,java.lang.String,java.lang.reflect.Method) */ private void addFcIntentHandler$0(org.ow2.frascati.tinfi.api.IntentHandler handler, java.lang.String name, java.lang.reflect.Method method) throws java.lang.NoSuchMethodException, org.objectweb.fractal.api.NoSuchInterfaceException { java.util.Map<java.lang.String, org.ow2.frascati.tinfi.TinfiComponentInterceptor<?>> interceptors = getFcInterceptors(); if (!(interceptors.containsKey(name))) { throw new org.objectweb.fractal.api.NoSuchInterfaceException(name); } org.ow2.frascati.tinfi.TinfiComponentInterceptor<?> tci = interceptors.get(name); tci.addIntentHandler(handler, method); }
/** * @see org.ow2.frascati.tinfi.control.intent.LifeCycleIntentMixin#addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler,org.ow2.frascati.tinfi.api.InterfaceMethodFilter) */ public void addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler handler, org.ow2.frascati.tinfi.api.InterfaceMethodFilter filter) throws org.objectweb.fractal.api.control.IllegalLifeCycleException { checkFcStopped(); addFcIntentHandler$0(handler, filter); }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCAContainerContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCACompositeIntentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCACompositePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.CompositeBindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.CompositeLifeCycleControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.intent.LifeCycleIntentMixin#removeFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler,java.lang.String,java.lang.reflect.Method) */ public void removeFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler handler, java.lang.String name, java.lang.reflect.Method method) throws java.lang.NoSuchMethodException, org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalLifeCycleException { checkFcStopped(); removeFcIntentHandler$0(handler, name, method); }
/** * @see org.ow2.frascati.tinfi.control.intent.SCABasicIntentControllerMixin#listFcIntentHandler(java.lang.String) */ public java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> listFcIntentHandler(java.lang.String name) throws org.objectweb.fractal.api.NoSuchInterfaceException { java.util.Map<java.lang.String, org.ow2.frascati.tinfi.TinfiComponentInterceptor<?>> interceptors = getFcInterceptors(); if (!(interceptors.containsKey(name))) { throw new org.objectweb.fractal.api.NoSuchInterfaceException(name); } org.ow2.frascati.tinfi.TinfiComponentInterceptor<?> tci = interceptors.get(name); java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = tci.listIntentHandler(); return handlers; }
/** * @see org.ow2.frascati.tinfi.control.intent.LifeCycleIntentMixin#addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler) */ public void addFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler handler) throws org.objectweb.fractal.api.control.IllegalLifeCycleException { checkFcStopped(); addFcIntentHandler$0(handler); }
public org.objectweb.fractal.api.Component newFcControllerInstantiation(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { Object ctrl = null; ic.controllers.add(ctrl = new juliac.generated.SCAContainerContentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.ComponentImpl()); org.objectweb.fractal.api.Component compctrl = (org.objectweb.fractal.api.Component)ctrl; ic.controllers.add(ctrl = new juliac.generated.CompositeBindingControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SuperControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.CompositeLifeCycleControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCAComponentControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCACompositePropertyControllerImpl()); ic.controllers.add(ctrl = new juliac.generated.SCACompositeIntentControllerImpl()); return compctrl; }
/** * @see org.ow2.frascati.tinfi.control.intent.SCABasicIntentControllerMixin#removeFcIntentHandler(org.ow2.frascati.tinfi.api.IntentHandler,java.lang.String,java.lang.reflect.Method) */ private void removeFcIntentHandler$0(org.ow2.frascati.tinfi.api.IntentHandler handler, java.lang.String name, java.lang.reflect.Method method) throws java.lang.NoSuchMethodException, org.objectweb.fractal.api.NoSuchInterfaceException { java.util.Map<java.lang.String, org.ow2.frascati.tinfi.TinfiComponentInterceptor<?>> interceptors = getFcInterceptors(); if (!(interceptors.containsKey(name))) { throw new org.objectweb.fractal.api.NoSuchInterfaceException(name); } org.ow2.frascati.tinfi.TinfiComponentInterceptor<?> tci = interceptors.get(name); tci.removeIntentHandler(handler, method); }