Expand my Community achievements bar.

OSGI R6 Configuration @AttributeDefinition Essentials Reference Guide | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

OSGI R6 Configuration @AttributeDefinition Essentials Reference Guide by SourcedCode Blog

Abstract

When defining any OSGI component’s configuration its standard practice to use Declarative Services; these configurations can be edited in the OSGI Apache Felix Console. This can be done by creating a class interface with the annotated @ObjectClassDefinition, which includes a determined list of rules as @AttributeDefinition items.

The @AttributeDefinition defines the supporting configuration for a given OSGI component’s configuration. It allows you to set data types and default values for each given configuration. When an admin user interacts with the Felix console, how the @AttributeDefinition is defined will determine the look and feel of each of the input fields are presented.

Read Full Blog

OSGI R6 Configuration @AttributeDefinition Essentials Reference Guide

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

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

0 Replies