Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Eclipse Plug-in Development

You're reading from   Mastering Eclipse Plug-in Development Build modular applications on Eclipse by defining custom extension points and using OSGi services

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781783287796
Length 362 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Bandlem Limited Bandlem Limited
Author Profile Icon Bandlem Limited
Bandlem Limited
Alex Blewitt Alex Blewitt
Author Profile Icon Alex Blewitt
Alex Blewitt
Arrow right icon
View More author details
Toc

Summary


In this chapter, we looked at the Gogo shell and how it can be extended in Equinox. Many of the examples here will work against a Felix implementation as well, although the SSHD example is specific to Equinox. The first part covered basic Gogo syntax, including variables, literals, functions, and how to run the console either locally or via remote access.

The second part of the chapter covered how to extend the console. The simplest kind of extension is with built-in shell functions, which can be iteratively developed or sourced from an external file. However, for more complex commands, shell extensions can be provided in the form of Java objects, which when integrated with Declarative Services or Blueprint, do not need to have any OSGi dependency at all.

The next chapter will look at how native code is used in Java and how native libraries can be loaded into bundles.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image