O'Reilly logo

JIRA 5.x Development Cookbook by Jobin Kuruvilla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Overriding JIRA's default components in plugins

JIRA uses PicoContainer as a central object factory. PicoContainer is responsible for instantiating objects and resolving their constructor dependencies. Within JIRA a lot of Manager, Service, and Utility classes are already registered with PicoContainer. The registration happens in the ComponentRegistrar class' registerComponents() method and these classes can be retrieved via dependency injection or using the ComponentManager class' getter methods or the getComponentInstanceOfType() method.

While it is true that most of the plugins can work with these already-registered components and the new ones created using the Component Plugins module, sometimes the need arises to override an existing component ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required