public void bindFc (final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (fcContent == this) { // case of merge...AndContent options ((ContentBindingController)this).bindFcContent(clientItfName, serverItf); } else { ((BindingController)fcContent).bindFc(clientItfName, serverItf); } }
/** * @see org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$3(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 ((fcContent) == (this)) { ((org.objectweb.fractal.julia.control.binding.ContentBindingController) (this)).bindFcContent(clientItfName, serverItf); }else { ((org.objectweb.fractal.api.control.BindingController) (fcContent)).bindFc(clientItfName, serverItf); } }
public void bindFc (final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (fcContent == this) { // case of merge...AndContent options ((ContentBindingController)this).bindFcContent(clientItfName, serverItf); } else { ((BindingController)fcContent).bindFc(clientItfName, serverItf); } }
ContentBindingController bc = (ContentBindingController)content; bc.bindFcContent("logger", logger); bc.bindFcContent("monolog-factory", mf); } else if (content instanceof BindingController) { BindingController bc = (BindingController)content;
ContentBindingController bc = (ContentBindingController)content; bc.bindFcContent("logger", logger); bc.bindFcContent("monolog-factory", mf); } else if (content instanceof BindingController) { BindingController bc = (BindingController)content;
/** * @see org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin#initFcController(org.objectweb.fractal.julia.InitializationContext) */ private void initFcController$2(final org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException { fcContent = ic.content; org.objectweb.fractal.api.Component owner = ((org.objectweb.fractal.api.Component) (ic.getOptionalInterface("component"))); if (owner != null) { try { owner = ((org.objectweb.fractal.api.Component) (owner.getFcInterface("component"))); if ((fcContent) == (this)) { if ((this) instanceof org.objectweb.fractal.julia.control.binding.ContentBindingController) { ((org.objectweb.fractal.julia.control.binding.ContentBindingController) (this)).bindFcContent("component", owner); } }else if ((fcContent) instanceof org.objectweb.fractal.api.control.BindingController) { ((org.objectweb.fractal.api.control.BindingController) (fcContent)).bindFc("component", owner); } } catch (java.lang.Exception ignored) { } } initFcController$3(ic); }
/** * Initializes the fields of this mixin and then calls the overriden method. * * @param ic information about the component to which this controller object * belongs. * @throws InstantiationException if the initialization fails. */ public void initFcController (final InitializationContext ic) throws InstantiationException { fcContent = ic.content; Component owner = (Component)ic.getOptionalInterface("component"); if (owner != null) { try { owner = (Component)owner.getFcInterface("component"); if (fcContent == this) { // case of merge...AndContent options if (this instanceof ContentBindingController) { ((ContentBindingController)this).bindFcContent("component", owner); } } else if (fcContent instanceof BindingController) { ((BindingController)fcContent).bindFc("component", owner); } } catch (Exception ignored) { } } _super_initFcController(ic); }
/** * Initializes the fields of this mixin and then calls the overriden method. * * @param ic information about the component to which this controller object * belongs. * @throws InstantiationException if the initialization fails. */ public void initFcController (final InitializationContext ic) throws InstantiationException { fcContent = ic.content; Component owner = (Component)ic.getOptionalInterface("component"); if (owner != null) { try { owner = (Component)owner.getFcInterface("component"); if (fcContent == this) { // case of merge...AndContent options if (this instanceof ContentBindingController) { ((ContentBindingController)this).bindFcContent("component", owner); } } else if (fcContent instanceof BindingController) { ((BindingController)fcContent).bindFc("component", owner); } } catch (Exception ignored) { } } _super_initFcController(ic); }