alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

Class moving
========
org.eclipse.core.boot.IPlatformConfiguration moved to org.eclipse.core.update.configurator.IPlatformConfiguration

org.eclipse.core.runtime.IConfigurationElement moved to org.eclipse.core.runtime.registry.IConfigurationElement
org.eclipse.core.runtime.IExecutableExtension moved to org.eclipse.core.runtime.registry.IExecutableExtension
org.eclipse.core.runtime.IExtension moved to org.eclipse.core.runtime.registry.IExtension (two methods renamed)
org.eclipse.core.runtime.IExtensionPoint moved to org.eclipse.core.runtime.registry.IExtensionPoint (two methods renamed)


Moved/renamed methods
===============
IExtension
	getExtensionPointUniqueIdentifier() --> getExtensionPointIdentifier() 
	?	getDeclaringPluginDescriptor() --> getParentIdentifier()
	
IExtensionPoint
	getDeclaringPluginDescriptor() -->
	getConfigurationElements() --> Get the extensions and iterate over them


Class responsibility reorganisation
====================
BootLoader mainly replaced by 
	EnvironmentInfoService
		getCommandLineArgs()
		getNL()
		getOS()
		getOSArch()
		getWS()		

	Test a system property for
		inDevelopmentMode() "osgi.dev"
		inDebugMode() "osgi.debug"
		getInstallURL() "eclipse.installURL"

	Unsupported yet
		knownOSArchValues()
		knownOSValues()
		knownWSValues()

	No longer supported 
		getCurrentPlatformConfiguration()
		getPlatformConfiguration(URL)
		getPluginPath(URL)
		
	Check the existence of the IPlatform service
		isRunning()
		

IPluginDescriptor replaced by 
	IExtensionRegistry
		getExtension(String extensionName) --> IExtensionRegistry#getExtension(String indentifier, String extensionName)
		getExtension(String extensionName) --> IExtensionRegistry#getExtensionPoint(String elementId, String extensionPointName) 
		getExtensionPoint(String extensionPointId) --> IExtensionRegistry#getExtensionPoints()
		getExtensionPoints() --> IExtensionRegistry#getExtensions(String)
		getExtensions() --> IExtensionRegistry#getExtensions(String)

	Bundle
		getInstallURL() --> There is no direct mapping. However to access the content of your plugin's install directory, use the Bundle#getEntry(String)
		getLabel() --> Bundle.getHeaders().get(org.osgi.framework.Constants#BUNDLE_NAME)
		
	No longer supported
		getPlugin() --> No replacement methods since the concept no longer exists
		getPluginClassLoader() --> 

Classes that do not have replacement as classes
=============================
org.eclipse.core.runtime.ILibrary
	The information available here are now accessible using the Bundle.getHeaders().get(BUNDLE_CLASSPATH)
	


... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.