Pacific Mike wrote:How to differentiate external and internal API of an application?
Unfortunately, Java doesn't really offer any mechanisms to deal with internal / external API's (yet). Most often it's mentioned as part of the API doucmentation, but that really doesn't prevent anyone from using an internal API. The OSGi standard does allow modules the choice of which APIs to expose and which ones to hide, but that only works within the confines of an OSGi container. Perhaps, in time, Jigsaw will offer a solution for a standard Java environment.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
subject: diffrenciate External and internal api of an application?