/** * @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.TypeBindingMixin#lookupFc(java.lang.String) */ public Object lookupFc(final String clientItfName) throws NoSuchInterfaceException { ComponentType compType = ((ComponentType)(weaveableC.getFcType())); InterfaceType clientItfType; try { clientItfType = compType.getFcInterfaceType(clientItfName); } catch (NoSuchInterfaceException e) { throw new ChainedNoSuchInterfaceException(null , weaveableC , clientItfName); } checkFcClientInterface(clientItfType); return lookupFc(clientItfType ,clientItfName); }