Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

OSGI Components Configuration | AEM Community Blog Seeding

kautuk_sahni
Community Manager
Community Manager

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies