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.
Please use this thread to ask the related questions.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes