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); } }
public String[] listFc () { if (fcContent == this) { // case of merge...AndContent options if (this instanceof ContentBindingController) { return ((ContentBindingController)this).listFcContent(); } } else if (fcContent instanceof BindingController) { return ((BindingController)fcContent).listFc(); } return new String[0]; }
public Object lookupFc (final String clientItfName) throws NoSuchInterfaceException { if (fcContent == this) { // case of merge...AndContent options ContentBindingController cbc = (ContentBindingController)this; return cbc.lookupFcContent(clientItfName); } else { BindingController bc = (BindingController)fcContent; return bc.lookupFc(clientItfName); } }
public void unbindFc (final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (fcContent == this) { // case of merge...AndContent options ((ContentBindingController)this).unbindFcContent(clientItfName); } else { ((BindingController)fcContent).unbindFc(clientItfName); } }
/** * @see org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin#unbindFc(java.lang.String) */ private void unbindFc$3(final java.lang.String clientItfName) 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)).unbindFcContent(clientItfName); }else { ((org.objectweb.fractal.api.control.BindingController) (fcContent)).unbindFc(clientItfName); } }
/** * @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 unbindFc (final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (fcContent == this) { // case of merge...AndContent options ((ContentBindingController)this).unbindFcContent(clientItfName); } else { ((BindingController)fcContent).unbindFc(clientItfName); } }
public Object lookupFc (final String clientItfName) throws NoSuchInterfaceException { if (fcContent == this) { // case of merge...AndContent options ContentBindingController cbc = (ContentBindingController)this; return cbc.lookupFcContent(clientItfName); } else { BindingController bc = (BindingController)fcContent; return bc.lookupFc(clientItfName); } }
public String[] listFc () { if (fcContent == this) { // case of merge...AndContent options if (this instanceof ContentBindingController) { return ((ContentBindingController)this).listFcContent(); } } else if (fcContent instanceof BindingController) { return ((BindingController)fcContent).listFc(); } return new String[0]; }
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#lookupFc(java.lang.String) */ private java.lang.Object lookupFc$2(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException { if ((fcContent) == (this)) { org.objectweb.fractal.julia.control.binding.ContentBindingController cbc = ((org.objectweb.fractal.julia.control.binding.ContentBindingController) (this)); return cbc.lookupFcContent(clientItfName); }else { org.objectweb.fractal.api.control.BindingController bc = ((org.objectweb.fractal.api.control.BindingController) (fcContent)); return bc.lookupFc(clientItfName); } }
/** * @see org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin#listFc() */ private java.lang.String[] listFc$0() { if ((fcContent) == (this)) { if ((this) instanceof org.objectweb.fractal.julia.control.binding.ContentBindingController) { return ((org.objectweb.fractal.julia.control.binding.ContentBindingController) (this)).listFcContent(); } }else if ((fcContent) instanceof org.objectweb.fractal.api.control.BindingController) { return ((org.objectweb.fractal.api.control.BindingController) (fcContent)).listFc(); } return new java.lang.String[0]; }
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); }