/** * Sets the shortcuts for the given binding and then calls the overriden * method. * * @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. * @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 InterfaceType clientItfType, final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { _super_bindFc(clientItfType, clientItfName, serverItf); setFcShortcuts(clientItfType, clientItfName, serverItf); }
/** * Updates the shortcuts for the given binding and then calls the overriden * method. * * @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(clientItfType, clientItfName); setFcShortcuts(clientItfType, clientItfName, null); }
List clientItfs = Util.getFcClientItfsBoundTo(comp, serverItf); for (int j = 0; j < clientItfs.size(); ++j) { setFcClientShortcuts( (Interface)clientItfs.get(j), impl,
if (itf.hasFcInterceptor()) { Object newImpl = itf.getFcItfImpl(); setFcServerShortcuts(itf, newImpl, visited, shortcutItfs, shortcutImpls); } else { setFcServerShortcuts(itf, impl, visited, shortcutItfs, shortcutImpls);
List clientItfs = Util.getFcClientItfsBoundTo(comp, serverItf); for (int j = 0; j < clientItfs.size(); ++j) { setFcClientShortcuts( (Interface)clientItfs.get(j), impl,
if (itf.hasFcInterceptor()) { Object newImpl = itf.getFcItfImpl(); setFcServerShortcuts(itf, newImpl, visited, shortcutItfs, shortcutImpls); } else { setFcServerShortcuts(itf, impl, visited, shortcutItfs, shortcutImpls);
/** * Updates the shortcuts for the given binding and then calls the overriden * method. * * @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(clientItfType, clientItfName); setFcShortcuts(clientItfType, clientItfName, null); }
/** * Sets the shortcuts for the given binding and then calls the overriden * method. * * @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. * @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 InterfaceType clientItfType, final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { _super_bindFc(clientItfType, clientItfName, serverItf); setFcShortcuts(clientItfType, clientItfName, serverItf); }
setFcClientShortcuts(clientItf, impl, visited, shortcutItfs, shortcutImpls); } catch (Exception e) { Interface sItf;
setFcClientShortcuts(clientItf, impl, visited, shortcutItfs, shortcutImpls); } catch (Exception e) { Interface sItf;