Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Eclipse Plug-in Development
  • Table Of Contents Toc
Mastering Eclipse Plug-in Development

Mastering Eclipse Plug-in Development

By : Alex Blewitt, Bandlem Limited
4 (1)
close
close
Mastering Eclipse Plug-in Development

Mastering Eclipse Plug-in Development

4 (1)
By: Alex Blewitt, Bandlem Limited

Overview of this book

Mastering Eclipse Plug-in Development shows you how to build an extensible application using custom extension points and dynamic OSGi services in Eclipse. Dynamic design patterns such as whiteboard and extender are covered along with specific techniques to deal with native and legacy code. This book dives right into the details and teaches you how to define new JFace wizards and extend Eclipse with custom extension points. Then the book moves quickly on to the details of how to define new commands for the Eclipse console and how to include native code in a plug-in. You will engage with modular application design patterns and Thread Context ClassLoaders before getting the details on how to create as well as manage P2 sites and write help documentation for an Eclipse plug-in.
Table of Contents (18 chapters)
close
close
Mastering Eclipse Plug-in Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Lock Free Chapter
1
Plugging in to JFace and the Common Navigator Framework
1
Index

Dynamic services


The OSGi specification defines the following four different layers:

  • Security Layer: All actions are checked against a security permissions model

  • Module Layer: Modules are specified as bundles that have dependencies

  • Life Cycle Layer: Bundles that come and go

  • Service Layer: Dynamic services that come and go

The services layer allows bundles to communicate by defining an API that can cross bundle layers. However, the services layer also allows the services to come and go dynamically, instead of being fixed at runtime.

This mechanism allows services to be exported over a network, and since the network can come and go (as can the remote endpoint), the OSGi services layer can replicate that same functionality.

Responding to services that dynamically come and go may add a slight difficulty to the client code, but it will be more robust in case of failure. The next sections will present different ways to achieve dynamism in services.

Resolving services each time

The easiest way of working...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Eclipse Plug-in Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon