Transcript
Page 1: A modular and extensible  osgi  shell

A MODULAR AND EXTENSIBLE OSGI SHELLLazar KirchevSAP AG

Reston, VA, USA 29th March

Page 2: A modular and extensible  osgi  shell

Outline• Motivation• New features• The Virgo story• Programming for the shell• Next steps

2

Page 3: A modular and extensible  osgi  shell

Motivation

•Why a new shell?• Usability features• Telnet access• Ssh support

3

Page 4: A modular and extensible  osgi  shell

Why a New Shell Demo

4

Page 5: A modular and extensible  osgi  shell

Features of the new shell• Based on Apache Gogo• Improved telnet connectivity• Ssh

• JAAS authentication support• Key-based authentication

• Command line editing and tab completion

• Backward incompatibilities

5

Page 6: A modular and extensible  osgi  shell

New Features Demo

6

Page 7: A modular and extensible  osgi  shell

The Shells in Virgo

• Two regions• Two independent shells• Configuration through ConfigAdmin

7

Page 8: A modular and extensible  osgi  shell

Virgo Shells Demo

8

Page 9: A modular and extensible  osgi  shell

Programming for the new shell• Based on the standard OSGi service model

• No need to implement predefined interfaces • Commands are OSGi services with the two properties:• osgi.command.scope• osgi.command.function

• Converters and Formatters• Compatibility with legacy commands

9

Page 10: A modular and extensible  osgi  shell

Coding Demo

10

Page 11: A modular and extensible  osgi  shell

Resources• Eclipse documentation

• Platform Plug-in Developer Guide -> Programmer's Guide -> Runtime overview -> Console Shell

• Virgo documentation• http://www.eclipse.org/virgo/documentation/• http://git.eclipse.org/c/virgo/org.eclipse.virgo.documentation.git/

plain/white-paper/virgo-white-paper.pdf

[email protected]

• Equinox dev mailing list: [email protected]

12

Page 12: A modular and extensible  osgi  shell

Q & A

13

Page 13: A modular and extensible  osgi  shell

Thank you!

14


Top Related