• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

diffrenciate External and internal api of an application?

 
Pacific Mike
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to differentiate external and internal API of an application?
 
Winston Gutkowski
Bartender
Pie
Posts: 10264
60
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jelle Klap
Bartender
Posts: 1951
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic