Advanced Configuration
Advanced configuration includes information about providing descriptions and the default values for configuration and OSGi Metatype Service Extensions.
The configuration properties for each service can be described in metadata that complies with the OSGi Metatype Service specification. The resulting XML file is packaged into the bundle in the OSGI-INF/metatype directory, in accordance with the specification.
See Providing Descriptions and default values for configuration.
The Liberty runtime and developer tools recognize some extensions to the OSGi Metatype specification for more complex configurations and a better presentation in a user interface.
See OSGi Metatype Service Extensions.
Subtopics
- Describing configuration using the OSGi Metatype service
The configuration properties for each service can be described in metadata that complies with the OSGi Metatype Service specification. The metadata can include default values, translatable names and descriptions, and information to allow validation of input values. The resulting XML file is packaged into the bundle in the OSGI-INF/metatype directory, in accordance with the specification.
- Single versus multiple configuration instances
We can also configure multiple configuration instances using the OSGi metatype services.
- Extensions to the OSGi metatype service
The Liberty runtime environment and developer tools recognize some extensions to the OSGi metatype specification for more complex configurations and a better presentation in a user interface.
- Localizing the configuration metadata
The name and description attributes of each metadata entry can be localized, and the translated strings packaged into language-specific properties files.
Parent topic: Develop a Liberty feature