/** * @see org.objectweb.fractal.julia.control.content.TypeContentMixin#getFcInternalInterface(java.lang.String) */ public java.lang.Object getFcInternalInterface(final java.lang.String interfaceName) throws org.objectweb.fractal.api.NoSuchInterfaceException { org.objectweb.fractal.api.type.ComponentType compType = ((org.objectweb.fractal.api.type.ComponentType) (weaveableC.getFcType())); org.objectweb.fractal.api.type.InterfaceType itfType; try { itfType = compType.getFcInterfaceType(interfaceName); } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) { throw new org.objectweb.fractal.julia.ChainedNoSuchInterfaceException(null, weaveableC, interfaceName); } java.lang.Object result; try { result = getFcInternalInterface$0(interfaceName); } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) { if (itfType.isFcCollectionItf()) { java.lang.String collectionName = "/collection/" + (itfType.getFcItfName()); result = getFcInternalInterface$0(collectionName); result = ((org.objectweb.fractal.julia.ComponentInterface) (result)).clone(); ((org.objectweb.fractal.julia.ComponentInterface) (result)).setFcItfName(interfaceName); fcInternalInterfaces.put(interfaceName, result); }else { throw e; } } return result; }
/** * @see org.objectweb.fractal.julia.control.content.TypeContentMixin#getFcInternalInterface(java.lang.String) */ public Object getFcInternalInterface(final String interfaceName) throws NoSuchInterfaceException { ComponentType compType = ((ComponentType)(weaveableC.getFcType())); InterfaceType itfType; try { itfType = compType.getFcInterfaceType(interfaceName); } catch (NoSuchInterfaceException e) { throw new ChainedNoSuchInterfaceException(null , weaveableC , interfaceName); } Object result; try { result = getFcInternalInterface$0(interfaceName); } catch (NoSuchInterfaceException e) { if (itfType.isFcCollectionItf()) { String collectionName = "/collection/" + (itfType.getFcItfName()); result = getFcInternalInterface$0(collectionName); result = ((ComponentInterface)(result)).clone(); ((ComponentInterface)(result)).setFcItfName(interfaceName); fcInternalInterfaces.put(interfaceName ,result); } else { throw e; } } return result; }
/** * @see org.objectweb.fractal.julia.control.content.TypeContentMixin#getFcInternalInterface(java.lang.String) */ public java.lang.Object getFcInternalInterface(final java.lang.String interfaceName) throws org.objectweb.fractal.api.NoSuchInterfaceException { org.objectweb.fractal.api.type.ComponentType compType = ((org.objectweb.fractal.api.type.ComponentType) (weaveableC.getFcType())); org.objectweb.fractal.api.type.InterfaceType itfType; try { itfType = compType.getFcInterfaceType(interfaceName); } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) { throw new org.objectweb.fractal.julia.ChainedNoSuchInterfaceException(null, weaveableC, interfaceName); } java.lang.Object result; try { result = getFcInternalInterface$0(interfaceName); } catch (org.objectweb.fractal.api.NoSuchInterfaceException e) { if (itfType.isFcCollectionItf()) { java.lang.String collectionName = "/collection/" + (itfType.getFcItfName()); result = getFcInternalInterface$0(collectionName); result = ((org.objectweb.fractal.julia.ComponentInterface) (result)).clone(); ((org.objectweb.fractal.julia.ComponentInterface) (result)).setFcItfName(interfaceName); fcInternalInterfaces.put(interfaceName, result); }else { throw e; } } return result; }