Changes in the JavaPlatform API

Tomas Zezula <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Message-ID <[email protected]>
Changes to the JavaPlatform API.

Requirements: To extend the JavaPlatform API to conform to ME
requirements. See issue 29175.

Proposal: 
	1.  Rename the JavaPlatform class to the GenericJavaPlatform class and
remove from it all the J2SE specific methods  (getSecificationVersion())
	2.  Add method getEdition() into the GenericJavaPlatform, this method
is used to safely determine the type of Java platform.
	3. Create a subclass of the GenericJavaPlatform (J2SEPlatform) holding
all J2SE specific methods.
	4. Rename the PlatformService into the GenericPlatformService without
any J2SE specific method.
	5. Add a new accept method into the GenericPlatformService. This
methods takes a GenericJavaPlatform as its argument
	    and returns true if it is save to use this service with given
platform, otherwise returns false.
	6. Introduce a new subclass of GenericPlatformService
(J2SEPlatformService) with J2SE specific stuff.
		
The changes are shown on the attached UML diagram.


Tomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Platform.gif (image/gif, 7.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.