OSGI Components Configuration | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
June 15, 2021

OSGI Components Configuration | AEM Community Blog Seeding

  • June 15, 2021
  • 0 replies
  • 471 views

BlogImage.jpg

OSGI Components Configuration by Blog's TechInnovia

Abstract

Welcome to part 6 of the lecture on OSGI, OSGI Component Configuration.

After listing to this part, you should be able to

Declare component lifecycle methods.
Make your component configurable.
We will not review the older list five ways of configuring components. If
that is what is used in your project you should better read documentation.


In OSGI, to make a component configurable, the
developer defines a certain data structure called MetaType.

That MetaType has two important parts

Object class Definition
Designate
Object Class Definition defines Attributes, that determines the configurable properties of a component and

Designate binds the Object Class Definition to the component.

In a bundle this data structure exists as an XML document that is a separate
XML document plus entries in the main component configuration XML.
In the Java code this structure is defined using several annotations.

Read Full Blog

OSGI Components Configuration

Q&A

Please use this thread to ask the related questions.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.