Meaningless Drivel is fun!*
The moose likes Performance and the fly likes diffrenciate External and internal api of an application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Performance
Bookmark "diffrenciate External and internal api of an application?" Watch "diffrenciate External and internal api of an application?" New topic
Author

diffrenciate External and internal api of an application?

Pacific Mike
Greenhorn

Joined: Nov 04, 2012
Posts: 1
How to differentiate external and internal API of an application?
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7894
    
  21

Pacific Mike wrote:How to differentiate external and internal API of an application?

I don't quite understand the question, but the normal division is between public methods and other ones.

Winston


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Jelle Klap
Bartender

Joined: Mar 10, 2008
Posts: 1763
    
    7

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.
 
GeeCON Prague 2014
 
subject: diffrenciate External and internal api of an application?