/** * Checks that the given interface is unbound, and then calls the overriden * method. * * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @param serverItf a server interface. * @throws NoSuchInterfaceException if there is no such client interface. * @throws IllegalBindingException if the binding cannot be created. * @throws IllegalLifeCycleException if this component has a {@link * org.objectweb.fractal.api.control.LifeCycleController} interface, but it is not in an appropriate state * to perform this operation. */ public void bindFc (final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (_this_lookupFc(clientItfName) != null) { throw new ChainedIllegalBindingException( null, _this_weaveableC, null, clientItfName, null, "Already bound"); } _super_bindFc(clientItfName, serverItf); }
/** * Checks that the given interface is unbound, and then calls the overriden * method. * * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @param serverItf a server interface. * @throws NoSuchInterfaceException if there is no such client interface. * @throws IllegalBindingException if the binding cannot be created. * @throws IllegalLifeCycleException if this component has a {@link * org.objectweb.fractal.api.control.LifeCycleController} interface, but it is not in an appropriate state * to perform this operation. */ public void bindFc (final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (_this_lookupFc(clientItfName) != null) { throw new ChainedIllegalBindingException( null, _this_weaveableOptC, null, clientItfName, null, "Already bound"); } _super_bindFc(clientItfName, serverItf); }