public static String getConnectionServiceInterfaceName(
			RTComponent sourceComponent, DataPort sourceDataPort,
			RTComponent targetComponent, DataPort targetDataPort)
			throws CorbaNamingCannotFindException, CorbaNamingResolveException {
		List<String> sourceInterfaceNameList = RTSystemBuilder
				.getInterfaceNameList(sourceComponent, sourceDataPort);
		List<String> targetInterfaceNameList = RTSystemBuilder
				.getInterfaceNameList(targetComponent, targetDataPort);
		for (String interfaceName : sourceInterfaceNameList) {
			for (String targetInterfaceName : targetInterfaceNameList) {
				if (interfaceName != null
						&& interfaceName.equals(targetInterfaceName)) {
					return interfaceName;
				}
			}
		}
		return null;
	}