Commit ID 51d644a8632d404c7fb26fe68fb8a07302ff7a8e
|Contributor:||Horia Chiorean||Files Modified:||37|
|Date:||20-June-2012 at 08:08||Lines Added:||604|
|Repository:||git://github.com/ModeShape/modeshape.git master||Lines Removed:||1801|
|Commit Comment:||MODE-1515 - Updated classloading mechanism used for components
Since AS7 uses modules dedicated classloaders, it was necessary to update the way in which components (sequencers, extractors etc) are loaded. The solution was to move the classloader creation to the Environment (with the dedicated LocalEnvironment and RepsitoryService implementations) and to use a new class loader implementation: DelegatingClassLoader. This implementation uses an inner list of class loader and delegates each operation to them. In the case of AS7, there is a delegate class loader which uses the ModuleLoader to find the classloader for each module.
The changes also contain an update to the common package: the component package and most of its unused classes have been removed. The classes which are still used have been moved to .util.
|File||Language||Code Added||Code Removed||Comments Added||Comment Removed||Blanks Added||Blanks Removed|
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.