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 |
|---|---|---|---|---|---|---|---|
| ...s7/modules/org/modeshape/main/module.xml | XML | 0 | 12 | 1 | 0 | 1 | 0 |
| .../modeshape/sequencer/xsd/main/module.xml | XML | 1 | 1 | 0 | 0 | 0 | 0 |
| ...e/configuration/standalone-modeshape.xml | XML | 6 | 3 | 4 | 4 | 0 | 0 |
| ...ape/jboss/service/RepositoryService.java | Java | 44 | 6 | 9 | 5 | 5 | 0 |
| ...shape/jboss/subsystem/AddRepository.java | Java | 4 | 0 | 0 | 0 | 1 | 0 |
| ...eshape/jboss/subsystem/AddSequencer.java | Java | 14 | 0 | 3 | 0 | 3 | 0 |
| ...common/component/ClassLoaderFactory.java | Java | 0 | 4 | 0 | 32 | 0 | 3 |
| ...pe/common/component/ComponentConfig.java | Java | 0 | 126 | 0 | 118 | 0 | 24 |
| ...odeshape/common/component/Component.java | Java | 0 | 5 | 0 | 44 | 0 | 4 |
| ...e/common/component/ComponentLibrary.java | Java | 0 | 188 | 0 | 169 | 0 | 25 |
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.