/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#unbindFc(java.lang.String) */ private void unbindFc$0(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { if ((lookupFc(clientItfName)) == null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Not bound"); } unbindFc$1(clientItfName); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$0(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 ((lookupFc(clientItfName)) != null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Already bound"); } bindFc$1(clientItfName, serverItf); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#unbindFc(java.lang.String) */ private void unbindFc$1(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { if ((lookupFc(clientItfName)) == null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Not bound"); } unbindFc$2(clientItfName); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#unbindFc(java.lang.String) */ private void unbindFc$1(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { if ((lookupFc(clientItfName)) == null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Not bound"); } unbindFc$2(clientItfName); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$0(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 ((lookupFc(clientItfName)) != null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Already bound"); } bindFc$1(clientItfName, serverItf); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#unbindFc(java.lang.String) */ private void unbindFc$1(final java.lang.String clientItfName) throws org.objectweb.fractal.api.NoSuchInterfaceException, org.objectweb.fractal.api.control.IllegalBindingException, org.objectweb.fractal.api.control.IllegalLifeCycleException { if ((lookupFc(clientItfName)) == null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Not bound"); } unbindFc$2(clientItfName); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$0(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 ((lookupFc(clientItfName)) != null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Already bound"); } bindFc$1(clientItfName, serverItf); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$0(final String clientItfName, final Object serverItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if ((lookupFc(clientItfName)) != null) { throw new ChainedIllegalBindingException(null , weaveableOptC , null , clientItfName , null , "Already bound"); } bindFc$1(clientItfName ,serverItf); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#unbindFc(java.lang.String) */ private void unbindFc$0(final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if ((lookupFc(clientItfName)) == null) { throw new ChainedIllegalBindingException(null , weaveableOptC , null , clientItfName , null , "Not bound"); } unbindFc$1(clientItfName); }
/** * @see org.objectweb.fractal.julia.control.binding.CheckBindingMixin#bindFc(java.lang.String,java.lang.Object) */ private void bindFc$0(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 ((lookupFc(clientItfName)) != null) { throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, null, clientItfName, null, "Already bound"); } bindFc$1(clientItfName, serverItf); }
/** * Checks that the given interface is bound, and then calls the overriden * 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 { if (_this_lookupFc(clientItfName) == null) { throw new ChainedIllegalBindingException(null, _this_weaveableOptC, null, clientItfName, null, "Not bound"); } _super_unbindFc(clientItfName); }
/** * Checks that the given interface is bound, and then calls the overriden * 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 { if (_this_lookupFc(clientItfName) == null) { throw new ChainedIllegalBindingException(null, _this_weaveableC, null, clientItfName, null, "Not bound"); } _super_unbindFc(clientItfName); }
/** * 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); }
/** * 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); }
public void unexportFcInterface(final String clientItfName) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { if (!fcExportedInterfaces.containsKey(clientItfName)) { throw new ChainedNoSuchInterfaceException(null, _this_weaveableC, "Interface '" + clientItfName + "' does not correspond to an exported client interface."); } final Interface innerItf = fcExportedInterfaces.get(clientItfName); for (final String itfName : getBindingController(innerItf.getFcItfOwner()) .listFc()) { if (itfName.startsWith(innerItf.getFcItfName())) { throw new ChainedIllegalBindingException(null, innerItf.getFcItfOwner(), _this_weaveableC, innerItf.getFcItfName(), clientItfName, "Cannot unexport the collection interface. Interface '" + itfName + "' must be unbound first."); } } fcExportedInterfaces.remove(clientItfName); }
throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, sId, cItf.getFcItfName(), sItf.getFcItfName(), "Not a local binding");
throw new ChainedIllegalBindingException(null , weaveableOptC , sId , cItf.getFcItfName() , sItf.getFcItfName() , "Not a local binding");
throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, sId, cItf.getFcItfName(), sItf.getFcItfName(), "Not a local binding");
throw new org.objectweb.fractal.julia.control.binding.ChainedIllegalBindingException(null, weaveableOptC, sId, cItf.getFcItfName(), sItf.getFcItfName(), "Not a local binding");
public void exportFcInterface(final String clientItfName, final Interface innerItf) throws NoSuchInterfaceException, IllegalBindingException, IllegalLifeCycleException { final ComponentType compType = (ComponentType) _this_weaveableC.getFcType(); InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (final NoSuchInterfaceException e) { throw new ChainedNoSuchInterfaceException(null, _this_weaveableC, clientItfName); } if (!clientItfType.isFcClientItf()) { throw new ChainedNoSuchInterfaceException(null, _this_weaveableC, clientItfName); } if (!clientItfType.isFcCollectionItf()) { throw new ChainedIllegalBindingException(null, innerItf.getFcItfOwner(), _this_weaveableC, innerItf.getFcItfName(), clientItfName, "The internal client interface is not a collection interface"); } fcExportedInterfaces.put(clientItfName, innerItf); }