public class ChainedProperties extends Object implements Externalizable, Cloneable
org.kie.property.cache.enabled
that needs to be set to true
Cache entries are by default limited to 100 to reduce memory consumption but can be fine tuned by system property:org.kie.property.cache.size
that needs to be set to valid integer valueModifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
Constructor and Description |
---|
ChainedProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addProperties(Properties properties)
Specifically added properties take priority, so they go to the front of the list.
|
ChainedProperties |
clone() |
static ChainedProperties |
getChainedProperties(ClassLoader classLoader) |
static ChainedProperties |
getChainedProperties(String confFileName,
ClassLoader classLoader) |
String |
getProperty(String key,
String defaultValue) |
void |
mapStartsWith(Map<String,String> map,
String startsWith,
boolean includeSubProperties) |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public static ChainedProperties getChainedProperties(ClassLoader classLoader)
public static ChainedProperties getChainedProperties(String confFileName, ClassLoader classLoader)
public ChainedProperties clone()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void addProperties(Properties properties)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.