@Component(value="jmix_AppProperties")
public class AppProperties
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
AppProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty(java.lang.String key) |
java.lang.String[] |
getPropertyNames() |
protected void |
init() |
void |
setProperty(java.lang.String key,
java.lang.String value)
Set property value.
|
public static final java.lang.String NAME
@PostConstruct protected void init()
public java.lang.String[] getPropertyNames()
@Nullable public java.lang.String getProperty(java.lang.String key)
public void setProperty(java.lang.String key, @Nullable java.lang.String value)
Environment
.key
- property keyvalue
- property value. If null, the property will be removed.