In this chapter, we will look at how OSGi's use of ClassLoaders permits bundle separation, and what effect this has on libraries that mistakenly assume there is only one ClassLoader per JVM. We will cover the Java ServiceLoader and describe the problems and solutions it has in an OSGi framework. Finally, we will look at how to upgrade such libraries so that they are OSGi compatible.
Mastering Eclipse Plug-in Development
By :
Mastering Eclipse Plug-in Development
By:
Overview of this book
Table of Contents (18 chapters)
Mastering Eclipse Plug-in Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Plugging in to JFace and the Common Navigator Framework
Creating Custom Extension Points
Using OSGi Services to Dynamically Wire Applications
Using the Gogo Shell and Commands
Native Code and Fragment Bundles
Understanding ClassLoaders
Designing Modular Applications
Event-driven Applications with EventAdmin
Deploying and Updating with P2
User Assistance in Eclipse
Index
Customer Reviews