Jump to: navigation, search

Difference between revisions of "Gyrex/Developer Guide/Roles"

(New page: In Gyrex ''roles'' are used to control what bundles and what OSGi applications (OSGi application admin) will be started on a particular node. == Dependencies == * Bundle <code>org.eclips...)
(No difference)

Revision as of 15:52, 28 November 2012

In Gyrex roles are used to control what bundles and what OSGi applications (OSGi application admin) will be started on a particular node.

Dependencies

  • Bundle org.eclipse.gyrex.boot (Gyrex 1.0 or higher)
  • Equinox Extension Registry


Define Roles

Roles are implemented using the Equinox Extension Registry. This decision was made in order to allow a declaritive approach for devining roles without writing any line of Java as well as to support lazy activation. It may be possible to use DS in the future (bug 395332).

In order to define a role you need to create an extension