OSGI R6 Configuration @AttributeDefinition Essentials Reference Guide | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
June 8, 2020

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

  • June 8, 2020
  • 0 replies
  • 2494 views

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.

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