Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 937 Bytes

File metadata and controls

27 lines (17 loc) · 937 Bytes

OSGI Configuration example with variable substitution

NOT RUNNING IN LIFERAY DXP 7.3

The example consists of an Java annotation annotated with pure osgi metadata. In Liferay DXP these components will be useable in: Control Panel > System Settings

The default location is the Category Section Plattform and the Category Third Party.

Configuration Category of pure osgi example

The default scope is the system scope. Configuration Category of pure osgi example

The sample demonstrates how to use environment & system properties in config files.

defaultEnvVar=${env:PATH}
defaultSystemPropVar=${os.name}

Sources