public class PropConstants
extends org.springframework.context.support.PropertySourcesPlaceholderConfigurer
ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME, LOCAL_PROPERTIES_PROPERTY_SOURCE_NAMEDEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, ignoreUnresolvablePlaceholders, nullValue, placeholderPrefix, placeholderSuffix, valueSeparator| Constructor and Description |
|---|
PropConstants() |
getAppliedPropertySources, postProcessBeanFactory, processProperties, processProperties, setEnvironment, setPropertySourcesdoProcessProperties, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setValueSeparatorconvertProperties, convertProperty, convertPropertyValue, getOrder, setOrderpublic static String getMetaAppProperty(String name)
name - public static String getAppId()
public static String getEnv(Properties properties)
public static String getApolloCluster(Properties properties)
properties - public List<String> getNamespaces(com.thebeastshop.common.prop.PropConstants.ConfigMeta meta, Properties properties)
meta - properties - protected Properties mergeProperties() throws IOException
mergeProperties in class org.springframework.core.io.support.PropertiesLoaderSupportIOExceptionpublic static Properties getPropertiesObj()
public PropConstants addPropertiesChangeCallback(String namespace, String propName, PropChangeCallback callback)
public PropConstants addPropertiesChangeCallback(String beanId, String namespace, String propName, PropChangeCallback callback)
public static void addPropChangeCallback(String beanId, String propName, PropChangeCallback callback)
public static void addPropChangeCallback(String propName, PropChangeCallback callback)
Copyright © 2018. All rights reserved.