public class DynamicPropertySource extends org.springframework.core.env.EnumerablePropertySource<Object>
| Modifier and Type | Field and Description |
|---|---|
static String |
OPENL_HOME |
static String |
OPENL_HOME_SHARED |
static String |
PROPS_NAME |
| Constructor and Description |
|---|
DynamicPropertySource(String appName,
org.openl.spring.env.RawPropertyResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(String name) |
static DynamicPropertySource |
get() |
Properties |
getProperties() |
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
boolean |
reloadIfModified() |
void |
save(Map<String,String> config) |
void |
setOpenLHomeDir(String workingDir) |
String |
version()
Returns the OpenL version of these properties.
|
public static final String PROPS_NAME
public static final String OPENL_HOME
public static final String OPENL_HOME_SHARED
public DynamicPropertySource(String appName, org.openl.spring.env.RawPropertyResolver resolver)
public String[] getPropertyNames()
getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<Object>public boolean containsProperty(String name)
containsProperty in class org.springframework.core.env.EnumerablePropertySource<Object>public boolean reloadIfModified()
public Object getProperty(String name)
getProperty in class org.springframework.core.env.PropertySource<Object>public static DynamicPropertySource get()
public String version()
public void setOpenLHomeDir(String workingDir)
public void save(Map<String,String> config) throws IOException
IOExceptionpublic Properties getProperties()
Copyright © 2004–2022 OpenL Tablets. All rights reserved.