org.springframework.core.env.ConfigurableEnvironment, org.springframework.core.env.ConfigurablePropertyResolver, org.springframework.core.env.Environment, org.springframework.core.env.PropertyResolverStandardEncryptableEnvironment@Deprecated public class EncryptableEnvironment extends org.springframework.core.env.StandardEnvironment implements org.springframework.core.env.ConfigurableEnvironment
| Constructor | Description |
|---|---|
EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate) |
Deprecated.
|
EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate,
EncryptablePropertyDetector detector) |
Deprecated.
|
EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate,
EncryptablePropertyResolver resolver) |
Deprecated.
|
EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate,
org.jasypt.encryption.StringEncryptor encryptor) |
Deprecated.
|
EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate,
org.jasypt.encryption.StringEncryptor encryptor,
EncryptablePropertyDetector detector) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
acceptsProfiles(String... profiles) |
Deprecated.
|
void |
addActiveProfile(String profile) |
Deprecated.
|
boolean |
containsProperty(String key) |
Deprecated.
|
protected void |
customizePropertySources(org.springframework.core.env.MutablePropertySources propertySources) |
Deprecated.
|
String[] |
getActiveProfiles() |
Deprecated.
|
org.springframework.core.convert.support.ConfigurableConversionService |
getConversionService() |
Deprecated.
|
String[] |
getDefaultProfiles() |
Deprecated.
|
org.springframework.core.env.ConfigurableEnvironment |
getDelegate() |
Deprecated.
|
String |
getProperty(String key) |
Deprecated.
|
<T> T |
getProperty(String key,
Class<T> targetType) |
Deprecated.
|
<T> T |
getProperty(String key,
Class<T> targetType,
T defaultValue) |
Deprecated.
|
String |
getProperty(String key,
String defaultValue) |
Deprecated.
|
<T> Class<T> |
getPropertyAsClass(String key,
Class<T> targetType) |
Deprecated.
|
org.springframework.core.env.MutablePropertySources |
getPropertySources() |
Deprecated.
|
String |
getRequiredProperty(String key) |
Deprecated.
|
<T> T |
getRequiredProperty(String key,
Class<T> targetType) |
Deprecated.
|
Map<String,Object> |
getSystemEnvironment() |
Deprecated.
|
Map<String,Object> |
getSystemProperties() |
Deprecated.
|
void |
merge(org.springframework.core.env.ConfigurableEnvironment parent) |
Deprecated.
|
String |
resolvePlaceholders(String text) |
Deprecated.
|
String |
resolveRequiredPlaceholders(String text) |
Deprecated.
|
void |
setActiveProfiles(String... profiles) |
Deprecated.
|
void |
setConversionService(org.springframework.core.convert.support.ConfigurableConversionService conversionService) |
Deprecated.
|
void |
setDefaultProfiles(String... profiles) |
Deprecated.
|
void |
setIgnoreUnresolvableNestedPlaceholders(boolean ignoreUnresolvableNestedPlaceholders) |
Deprecated.
|
void |
setPlaceholderPrefix(String placeholderPrefix) |
Deprecated.
|
void |
setPlaceholderSuffix(String placeholderSuffix) |
Deprecated.
|
void |
setRequiredProperties(String... requiredProperties) |
Deprecated.
|
void |
setValueSeparator(String valueSeparator) |
Deprecated.
|
void |
validateRequiredProperties() |
Deprecated.
|
public EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate)
public EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate,
EncryptablePropertyDetector detector)
public EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate,
org.jasypt.encryption.StringEncryptor encryptor)
public EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate,
org.jasypt.encryption.StringEncryptor encryptor,
EncryptablePropertyDetector detector)
public EncryptableEnvironment(org.springframework.core.env.ConfigurableEnvironment delegate,
EncryptablePropertyResolver resolver)
protected void customizePropertySources(org.springframework.core.env.MutablePropertySources propertySources)
customizePropertySources in class org.springframework.core.env.StandardEnvironmentpublic void addActiveProfile(String profile)
addActiveProfile in interface org.springframework.core.env.ConfigurableEnvironmentaddActiveProfile in class org.springframework.core.env.AbstractEnvironmentpublic org.springframework.core.env.MutablePropertySources getPropertySources()
getPropertySources in interface org.springframework.core.env.ConfigurableEnvironmentgetPropertySources in class org.springframework.core.env.AbstractEnvironmentpublic Map<String,Object> getSystemEnvironment()
getSystemEnvironment in interface org.springframework.core.env.ConfigurableEnvironmentgetSystemEnvironment in class org.springframework.core.env.AbstractEnvironmentpublic Map<String,Object> getSystemProperties()
getSystemProperties in interface org.springframework.core.env.ConfigurableEnvironmentgetSystemProperties in class org.springframework.core.env.AbstractEnvironmentpublic void merge(org.springframework.core.env.ConfigurableEnvironment parent)
merge in interface org.springframework.core.env.ConfigurableEnvironmentmerge in class org.springframework.core.env.AbstractEnvironmentpublic org.springframework.core.convert.support.ConfigurableConversionService getConversionService()
getConversionService in interface org.springframework.core.env.ConfigurablePropertyResolvergetConversionService in class org.springframework.core.env.AbstractEnvironmentpublic void setConversionService(org.springframework.core.convert.support.ConfigurableConversionService conversionService)
setConversionService in interface org.springframework.core.env.ConfigurablePropertyResolversetConversionService in class org.springframework.core.env.AbstractEnvironmentpublic void setPlaceholderPrefix(String placeholderPrefix)
setPlaceholderPrefix in interface org.springframework.core.env.ConfigurablePropertyResolversetPlaceholderPrefix in class org.springframework.core.env.AbstractEnvironmentpublic void setPlaceholderSuffix(String placeholderSuffix)
setPlaceholderSuffix in interface org.springframework.core.env.ConfigurablePropertyResolversetPlaceholderSuffix in class org.springframework.core.env.AbstractEnvironmentpublic void setValueSeparator(String valueSeparator)
setValueSeparator in interface org.springframework.core.env.ConfigurablePropertyResolversetValueSeparator in class org.springframework.core.env.AbstractEnvironmentpublic void setIgnoreUnresolvableNestedPlaceholders(boolean ignoreUnresolvableNestedPlaceholders)
setIgnoreUnresolvableNestedPlaceholders in interface org.springframework.core.env.ConfigurablePropertyResolversetIgnoreUnresolvableNestedPlaceholders in class org.springframework.core.env.AbstractEnvironmentpublic void setRequiredProperties(String... requiredProperties)
setRequiredProperties in interface org.springframework.core.env.ConfigurablePropertyResolversetRequiredProperties in class org.springframework.core.env.AbstractEnvironmentpublic void validateRequiredProperties()
throws org.springframework.core.env.MissingRequiredPropertiesException
validateRequiredProperties in interface org.springframework.core.env.ConfigurablePropertyResolvervalidateRequiredProperties in class org.springframework.core.env.AbstractEnvironmentorg.springframework.core.env.MissingRequiredPropertiesExceptionpublic String[] getActiveProfiles()
getActiveProfiles in interface org.springframework.core.env.EnvironmentgetActiveProfiles in class org.springframework.core.env.AbstractEnvironmentpublic void setActiveProfiles(String... profiles)
setActiveProfiles in interface org.springframework.core.env.ConfigurableEnvironmentsetActiveProfiles in class org.springframework.core.env.AbstractEnvironmentpublic String[] getDefaultProfiles()
getDefaultProfiles in interface org.springframework.core.env.EnvironmentgetDefaultProfiles in class org.springframework.core.env.AbstractEnvironmentpublic void setDefaultProfiles(String... profiles)
setDefaultProfiles in interface org.springframework.core.env.ConfigurableEnvironmentsetDefaultProfiles in class org.springframework.core.env.AbstractEnvironmentpublic boolean acceptsProfiles(String... profiles)
acceptsProfiles in interface org.springframework.core.env.EnvironmentacceptsProfiles in class org.springframework.core.env.AbstractEnvironmentpublic boolean containsProperty(String key)
containsProperty in interface org.springframework.core.env.PropertyResolvercontainsProperty in class org.springframework.core.env.AbstractEnvironmentpublic String getProperty(String key)
getProperty in interface org.springframework.core.env.PropertyResolvergetProperty in class org.springframework.core.env.AbstractEnvironmentpublic String getProperty(String key, String defaultValue)
getProperty in interface org.springframework.core.env.PropertyResolvergetProperty in class org.springframework.core.env.AbstractEnvironmentpublic org.springframework.core.env.ConfigurableEnvironment getDelegate()
public <T> T getProperty(String key, Class<T> targetType)
getProperty in interface org.springframework.core.env.PropertyResolvergetProperty in class org.springframework.core.env.AbstractEnvironmentpublic <T> T getProperty(String key, Class<T> targetType, T defaultValue)
getProperty in interface org.springframework.core.env.PropertyResolvergetProperty in class org.springframework.core.env.AbstractEnvironmentpublic <T> Class<T> getPropertyAsClass(String key, Class<T> targetType)
getPropertyAsClass in interface org.springframework.core.env.PropertyResolvergetPropertyAsClass in class org.springframework.core.env.AbstractEnvironmentpublic String getRequiredProperty(String key) throws IllegalStateException
getRequiredProperty in interface org.springframework.core.env.PropertyResolvergetRequiredProperty in class org.springframework.core.env.AbstractEnvironmentIllegalStateExceptionpublic <T> T getRequiredProperty(String key, Class<T> targetType) throws IllegalStateException
getRequiredProperty in interface org.springframework.core.env.PropertyResolvergetRequiredProperty in class org.springframework.core.env.AbstractEnvironmentIllegalStateExceptionpublic String resolvePlaceholders(String text)
resolvePlaceholders in interface org.springframework.core.env.PropertyResolverresolvePlaceholders in class org.springframework.core.env.AbstractEnvironmentpublic String resolveRequiredPlaceholders(String text) throws IllegalArgumentException
resolveRequiredPlaceholders in interface org.springframework.core.env.PropertyResolverresolveRequiredPlaceholders in class org.springframework.core.env.AbstractEnvironmentIllegalArgumentExceptionCopyright © 2018. All rights reserved.