--- url: "https://martinfowler.com/bliki/PublishedInterface.html" titulek: "Published Interface" h1: "Published Interface" popis: "a bliki entry for Published Interface" jazyk: "" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 22:04:36" znaku: 1074 slov: 146 kodovani: "utf-8" sha256: "f13e98f602c25a932fca557ab8c2a4c836f1d376135af8b3794f8b78219f3436" --- # [Published Interface](PublishedInterface.html) 26 December 2003 [Martin Fowler](/) [encapsulation](/tags/encapsulation.html) [language feature](/tags/language%20feature.html) [application architecture](/tags/application%20architecture.html) [API design](/tags/API%20design.html) *Published Interface* is a term I used (first in [Refactoring](/books/refactoring.html)) to refer to a class interface that's used outside the code base that it's defined in. As such it means more than public in Java and indeed even more than a non-internal public in C#. In my column for IEEE Software I argued that [the distinction between published and public is actually more important than that between public and private.](/ieeeSoftware/published.pdf) The reason is that with a non-published interface you can change it and update the calling code since it is all within a single code base. Such things as renames can be done, and done easily with modern refactoring tools. But anything published so you can't reach the calling code needs more complicated treatment. reposted on 03 May 2012