/** * @see org.objectweb.fractal.julia.control.binding.OptimizedCompositeBindingMixin#bindFc(org.objectweb.fractal.api.type.InterfaceType,java.lang.String,java.lang.Object) */ public void bindFc(final org.objectweb.fractal.api.type.InterfaceType clientItfType, final java.lang.String clientItfName, final java.lang.Object serverItf) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { bindFc$0(clientItfType, clientItfName, serverItf); setFcShortcuts(clientItfType, clientItfName, serverItf); }
/** * @see org.objectweb.fractal.julia.control.binding.ContentBindingMixin#bindFc(org.objectweb.fractal.api.type.InterfaceType,java.lang.String,java.lang.Object) */ private void bindFc$0(final org.objectweb.fractal.api.type.InterfaceType clientItfType, final java.lang.String clientItfName, final java.lang.Object serverItf) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { checkFcLocalBinding(clientItfType, clientItfName, serverItf); bindFc$1(clientItfType, clientItfName, serverItf); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$0(final java.lang.String clientItfName, final java.lang.Object serverItf) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { if ((lookupFc(clientItfName)) != null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Already bound"); } bindFc$1(clientItfName, serverItf); }
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.LifeCycleControllerNoFracletImpl()); ic.controllers.add(ctrl = new juliac.generated.NameControllerImpl()); return compctrl; }
/** * @see org.objectweb.fractal.julia.control.binding.TypeBindingMixin#lookupFc(java.lang.String) */ public java.lang.Object lookupFc(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException { org.objectweb.fractal.api.type.ComponentType compType = ((org.objectweb.fractal.api.type.ComponentType) (weaveableC.getFcType())); org.objectweb.fractal.api.type.InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) { throw new org.objectweb.fractal.julia.ChainedNoSuchInterfaceException(null, weaveableC, clientItfName); } checkFcClientInterface(clientItfType); return lookupFc(clientItfType, clientItfName); }
/** * @see org.objectweb.fractal.julia.control.binding.TypeBindingMixin#unbindFc(java.lang.String) */ private void unbindFc$0(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { org.objectweb.fractal.api.type.ComponentType compType = ((org.objectweb.fractal.api.type.ComponentType) (weaveableC.getFcType())); org.objectweb.fractal.api.type.InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) { throw new org.objectweb.fractal.julia.ChainedNoSuchInterfaceException(null, weaveableC, clientItfName); } checkFcClientInterface(clientItfType); unbindFc(clientItfType, clientItfName); }
throw new org.objectweb.fractal.julia.ChainedNoSuchInterfaceException(null, weaveableC, clientItfName); checkFcClientInterface(cItfType); org.objectweb.fractal.api.control.ContentController cc; try { sItfType = ((org.objectweb.fractal.api.type.InterfaceType) (sItf.getFcItfType())); } catch (java.lang.ClassCastException e) { bindFc(cItfType, clientItfName, serverItf); return; throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableC, ((org.objectweb.fractal.api.Interface) (serverItf)).getFcItfOwner(), clientItfName, ((org.objectweb.fractal.api.Interface) (serverItf)).getFcItfName(), "A mandatory interface cannot be bound to an optional interface"); bindFc(cItfType, clientItfName, sItf);
/** * @see org.objectweb.fractal.julia.UseComponentMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$2(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$3(ic); }
/** * @see org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$0(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$1(ic); }
/** * @see org.objectweb.fractal.julia.control.content.UseSuperControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$1(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableSC = ((org.objectweb.fractal.api.control.SuperController) (ic.getInterface("super-controller"))); initFcController$2(ic); }
/** * @see org.objectweb.fractal.julia.control.binding.TypeBindingMixin#bindFc(org.objectweb.fractal.api.type.InterfaceType,java.lang.String,java.lang.Object) */ private void bindFc$1(final org.objectweb.fractal.api.type.InterfaceType clientItfType, final java.lang.String clientItfName, final java.lang.Object serverItf) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { bindFc$0(clientItfName, serverItf); }
/** * @see org.objectweb.fractal.julia.control.content.UseContentControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ public void initFcController(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableCC = ((org.objectweb.fractal.api.control.ContentController) (ic.getInterface("content-controller"))); initFcController$0(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.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.objectweb.fractal.julia.control.binding.CheckBindingMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$0(final java.lang.String clientItfName, final java.lang.Object serverItf) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { if ((lookupFc(clientItfName)) != null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Already bound"); } bindFc$1(clientItfName, serverItf); }
/** * @see org.objectweb.fractal.julia.control.binding.TypeBindingMixin#lookupFc(java.lang.String) */ public java.lang.Object lookupFc(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException { org.objectweb.fractal.api.type.ComponentType compType = ((org.objectweb.fractal.api.type.ComponentType) (weaveableC.getFcType())); org.objectweb.fractal.api.type.InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) { throw new org.objectweb.fractal.julia.ChainedNoSuchInterfaceException(null, weaveableC, clientItfName); } checkFcClientInterface(clientItfType); return lookupFc(clientItfType, clientItfName); }
/** * @see org.objectweb.fractal.julia.control.binding.TypeBindingMixin#unbindFc(java.lang.String) */ private void unbindFc$0(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { org.objectweb.fractal.api.type.ComponentType compType = ((org.objectweb.fractal.api.type.ComponentType) (weaveableC.getFcType())); org.objectweb.fractal.api.type.InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) { throw new org.objectweb.fractal.julia.ChainedNoSuchInterfaceException(null, weaveableC, clientItfName); } checkFcClientInterface(clientItfType); unbindFc(clientItfType, clientItfName); }
throw new org.objectweb.fractal.julia.ChainedNoSuchInterfaceException(null, weaveableC, clientItfName); checkFcClientInterface(cItfType); org.objectweb.fractal.api.control.ContentController cc; try { sItfType = ((org.objectweb.fractal.api.type.InterfaceType) (sItf.getFcItfType())); } catch (java.lang.ClassCastException e) { bindFc(cItfType, clientItfName, serverItf); return; throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableC, ((org.objectweb.fractal.api.Interface) (serverItf)).getFcItfOwner(), clientItfName, ((org.objectweb.fractal.api.Interface) (serverItf)).getFcItfName(), "A mandatory interface cannot be bound to an optional interface"); bindFc(cItfType, clientItfName, sItf);
/** * @see org.objectweb.fractal.julia.UseComponentMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$2(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$3(ic); }
/** * @see org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$0(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$1(ic); }
/** * @see org.objectweb.fractal.julia.control.content.UseSuperControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$1(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { weaveableSC = ((org.objectweb.fractal.api.control.SuperController) (ic.getInterface("super-controller"))); initFcController$2(ic); }