Package org.imixs.workflow.office.config
Class PropertyController
- java.lang.Object
-
- org.imixs.workflow.office.config.PropertyController
-
- All Implemented Interfaces:
Serializable
@Named @ApplicationScoped public class PropertyController extends Object implements Serializable
This PropertyController provides access to the Microprofile config api.The PropertyController can be used in a JSF page to access a specific property by name:
#{propertyController.getProperty('my-property')} #{propertyController.getProperty('another-property','default value')}- Author:
- rsoika
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProperty(String key)Returns a property valueStringgetProperty(String key, String defaultValue)Returns a property value
-