/** * Returns the interface to which the given client interface is bound. More * precisely, returns the server interface to which the client interface whose * name is given is bound. * * @param clientItfType the type of the <tt>clientItfName</tt> interface. * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @return the server interface to which the given interface is bound, or <tt> * null</tt> if it is not bound. * @throws NoSuchInterfaceException if the component to which this interface * belongs does not have a client interface whose name is equal to the * given name. */ public Object lookupFc ( final InterfaceType clientItfType, final String clientItfName) throws NoSuchInterfaceException { return _super_lookupFc(clientItfName); }
/** * Unbinds the given client interface. More precisely, unbinds the client * interface of the component to which this interface belongs, and whose name * is equal to the given name. * * @param clientItfType the type of the <tt>clientItfName</tt> interface. * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @throws NoSuchInterfaceException if there is no such client interface. * @throws IllegalBindingException if the binding cannot be removed. * @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 unbindFc ( final InterfaceType clientItfType, final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { _super_unbindFc(clientItfName); }
/** * Checks the interface name with the component's type and then calls the * {@link #lookupFc(InterfaceType,String) lookupFc} method. * * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @return the server interface to which the given interface is bound, or <tt> * null</tt> if it is not bound. * @throws NoSuchInterfaceException if the component to which this interface * belongs does not have a client interface whose name is equal to the * given name. */ public Object lookupFc (final String clientItfName) throws NoSuchInterfaceException { ComponentType compType = (ComponentType)_this_weaveableC.getFcType(); InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (NoSuchInterfaceException e) { throw new ChainedNoSuchInterfaceException( null, _this_weaveableC, clientItfName); } checkFcClientInterface(clientItfType); return lookupFc(clientItfType, clientItfName); }
/** * Checks the interface name with the component's type and then calls the * {@link #unbindFc(InterfaceType,String) unbindFc} method. * * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @throws NoSuchInterfaceException if there is no such client interface. * @throws IllegalBindingException if the binding cannot be removed. * @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 unbindFc (final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { ComponentType compType = (ComponentType)_this_weaveableC.getFcType(); InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (NoSuchInterfaceException e) { throw new ChainedNoSuchInterfaceException( null, _this_weaveableC, clientItfName); } checkFcClientInterface(clientItfType); unbindFc(clientItfType, clientItfName); }
null, _this_weaveableC, clientItfName); checkFcClientInterface(cItfType); bindFc(cItfType, clientItfName, serverItf); return; bindFc(cItfType, clientItfName, sItf);
IllegalLifeCycleException _super_bindFc(clientItfName, serverItf);
/** * Checks the interface name with the component's type and then calls the * {@link #lookupFc(InterfaceType,String) lookupFc} method. * * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @return the server interface to which the given interface is bound, or <tt> * null</tt> if it is not bound. * @throws NoSuchInterfaceException if the component to which this interface * belongs does not have a client interface whose name is equal to the * given name. */ public Object lookupFc (final String clientItfName) throws NoSuchInterfaceException { ComponentType compType = (ComponentType)_this_weaveableC.getFcType(); InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (NoSuchInterfaceException e) { throw new ChainedNoSuchInterfaceException( null, _this_weaveableC, clientItfName); } checkFcClientInterface(clientItfType); return lookupFc(clientItfType, clientItfName); }
/** * Checks the interface name with the component's type and then calls the * {@link #unbindFc(InterfaceType,String) unbindFc} method. * * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @throws NoSuchInterfaceException if there is no such client interface. * @throws IllegalBindingException if the binding cannot be removed. * @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 unbindFc (final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { ComponentType compType = (ComponentType)_this_weaveableC.getFcType(); InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (NoSuchInterfaceException e) { throw new ChainedNoSuchInterfaceException( null, _this_weaveableC, clientItfName); } checkFcClientInterface(clientItfType); unbindFc(clientItfType, clientItfName); }
null, _this_weaveableC, clientItfName); checkFcClientInterface(cItfType); bindFc(cItfType, clientItfName, serverItf); return; bindFc(cItfType, clientItfName, sItf);
IllegalLifeCycleException _super_bindFc(clientItfName, serverItf);
/** * Returns the interface to which the given client interface is bound. More * precisely, returns the server interface to which the client interface whose * name is given is bound. * * @param clientItfType the type of the <tt>clientItfName</tt> interface. * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @return the server interface to which the given interface is bound, or <tt> * null</tt> if it is not bound. * @throws NoSuchInterfaceException if the component to which this interface * belongs does not have a client interface whose name is equal to the * given name. */ public Object lookupFc ( final InterfaceType clientItfType, final String clientItfName) throws NoSuchInterfaceException { return _super_lookupFc(clientItfName); }
/** * Unbinds the given client interface. More precisely, unbinds the client * interface of the component to which this interface belongs, and whose name * is equal to the given name. * * @param clientItfType the type of the <tt>clientItfName</tt> interface. * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @throws NoSuchInterfaceException if there is no such client interface. * @throws IllegalBindingException if the binding cannot be removed. * @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 unbindFc ( final InterfaceType clientItfType, final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { _super_unbindFc(clientItfName); }