public class org.springframework.context.support.PropertySourcesPlaceholderConfigurer extends org.springframework.beans.factory.config.PlaceholderConfigurerSupport implements org.springframework.context.EnvironmentAware
{
public static final java.lang.String LOCAL_PROPERTIES_PROPERTY_SOURCE_NAME;
public static final java.lang.String ENVIRONMENT_PROPERTIES_PROPERTY_SOURCE_NAME;
private org.springframework.core.env.MutablePropertySources propertySources;
private org.springframework.core.env.PropertySources appliedPropertySources;
private org.springframework.core.env.Environment environment;
public void <init>()
{
org.springframework.context.support.PropertySourcesPlaceholderConfigurer v;
v := @this: org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
specialinvoke v.<org.springframework.beans.factory.config.PlaceholderConfigurerSupport: void <init>()>();
return;
}
public void setPropertySources(org.springframework.core.env.PropertySources)
{
org.springframework.core.env.MutablePropertySources v;
org.springframework.core.env.PropertySources v;
org.springframework.context.support.PropertySourcesPlaceholderConfigurer v;
v := @this: org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
v := @parameter: org.springframework.core.env.PropertySources;
v = new org.springframework.core.env.MutablePropertySources;
specialinvoke v.<org.springframework.core.env.MutablePropertySources: void <init>(org.springframework.core.env.PropertySources)>(v);
v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.MutablePropertySources propertySources> = v;
return;
}
public void setEnvironment(org.springframework.core.env.Environment)
{
org.springframework.core.env.Environment v;
org.springframework.context.support.PropertySourcesPlaceholderConfigurer v;
v := @this: org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
v := @parameter: org.springframework.core.env.Environment;
v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.Environment environment> = v;
return;
}
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory) throws org.springframework.beans.BeansException
{
org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1 v;
org.springframework.beans.factory.BeanInitializationException v;
org.springframework.beans.factory.config.ConfigurableListableBeanFactory v;
org.springframework.context.support.PropertySourcesPlaceholderConfigurer v;
boolean v;
java.util.Properties v;
org.springframework.core.env.PropertiesPropertySource v;
java.io.IOException v;
org.springframework.core.env.Environment v, v;
org.springframework.core.env.MutablePropertySources v, v, v, v, v, v, v;
org.springframework.core.env.PropertySourcesPropertyResolver v;
v := @this: org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
v := @parameter: org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.MutablePropertySources propertySources>;
if v != null goto label;
v = new org.springframework.core.env.MutablePropertySources;
specialinvoke v.<org.springframework.core.env.MutablePropertySources: void <init>()>();
v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.MutablePropertySources propertySources> = v;
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.Environment environment>;
if v == null goto label;
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.MutablePropertySources propertySources>;
v = new org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1;
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.Environment environment>;
specialinvoke v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1: void <init>(org.springframework.context.support.PropertySourcesPlaceholderConfigurer,java.lang.String,org.springframework.core.env.Environment)>(v, "environmentProperties", v);
virtualinvoke v.<org.springframework.core.env.MutablePropertySources: void addLast(org.springframework.core.env.PropertySource)>(v);
label:
v = new org.springframework.core.env.PropertiesPropertySource;
v = virtualinvoke v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: java.util.Properties mergeProperties()>();
specialinvoke v.<org.springframework.core.env.PropertiesPropertySource: void <init>(java.lang.String,java.util.Properties)>("localProperties", v);
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: boolean localOverride>;
if v == 0 goto label;
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.MutablePropertySources propertySources>;
virtualinvoke v.<org.springframework.core.env.MutablePropertySources: void addFirst(org.springframework.core.env.PropertySource)>(v);
goto label;
label:
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.MutablePropertySources propertySources>;
virtualinvoke v.<org.springframework.core.env.MutablePropertySources: void addLast(org.springframework.core.env.PropertySource)>(v);
label:
goto label;
label:
v := @caughtexception;
v = new org.springframework.beans.factory.BeanInitializationException;
specialinvoke v.<org.springframework.beans.factory.BeanInitializationException: void <init>(java.lang.String,java.lang.Throwable)>("Could not load properties", v);
throw v;
label:
v = new org.springframework.core.env.PropertySourcesPropertyResolver;
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.MutablePropertySources propertySources>;
specialinvoke v.<org.springframework.core.env.PropertySourcesPropertyResolver: void <init>(org.springframework.core.env.PropertySources)>(v);
virtualinvoke v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: void processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory,org.springframework.core.env.ConfigurablePropertyResolver)>(v, v);
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.MutablePropertySources propertySources>;
v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.PropertySources appliedPropertySources> = v;
return;
catch java.io.IOException from label to label with label;
}
protected void processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory, org.springframework.core.env.ConfigurablePropertyResolver) throws org.springframework.beans.BeansException
{
org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2 v;
org.springframework.context.support.PropertySourcesPlaceholderConfigurer v;
org.springframework.core.env.ConfigurablePropertyResolver v;
java.lang.String v, v, v;
org.springframework.beans.factory.config.ConfigurableListableBeanFactory v;
v := @this: org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
v := @parameter: org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
v := @parameter: org.springframework.core.env.ConfigurablePropertyResolver;
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: java.lang.String placeholderPrefix>;
interfaceinvoke v.<org.springframework.core.env.ConfigurablePropertyResolver: void setPlaceholderPrefix(java.lang.String)>(v);
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: java.lang.String placeholderSuffix>;
interfaceinvoke v.<org.springframework.core.env.ConfigurablePropertyResolver: void setPlaceholderSuffix(java.lang.String)>(v);
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: java.lang.String valueSeparator>;
interfaceinvoke v.<org.springframework.core.env.ConfigurablePropertyResolver: void setValueSeparator(java.lang.String)>(v);
v = new org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2;
specialinvoke v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2: void <init>(org.springframework.context.support.PropertySourcesPlaceholderConfigurer,org.springframework.core.env.ConfigurablePropertyResolver)>(v, v);
virtualinvoke v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: void doProcessProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory,org.springframework.util.StringValueResolver)>(v, v);
return;
}
protected void processProperties(org.springframework.beans.factory.config.ConfigurableListableBeanFactory, java.util.Properties)
{
java.lang.UnsupportedOperationException v;
java.util.Properties v;
org.springframework.context.support.PropertySourcesPlaceholderConfigurer v;
org.springframework.beans.factory.config.ConfigurableListableBeanFactory v;
v := @this: org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
v := @parameter: org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
v := @parameter: java.util.Properties;
v = new java.lang.UnsupportedOperationException;
specialinvoke v.<java.lang.UnsupportedOperationException: void <init>(java.lang.String)>("Call processProperties(ConfigurableListableBeanFactory, ConfigurablePropertyResolver) instead");
throw v;
}
public org.springframework.core.env.PropertySources getAppliedPropertySources() throws java.lang.IllegalStateException
{
org.springframework.context.support.PropertySourcesPlaceholderConfigurer v;
org.springframework.core.env.PropertySources v, v;
boolean v;
v := @this: org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.PropertySources appliedPropertySources>;
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
staticinvoke <org.springframework.util.Assert: void state(boolean,java.lang.String)>(v, "PropertySources have not yet been applied");
v = v.<org.springframework.context.support.PropertySourcesPlaceholderConfigurer: org.springframework.core.env.PropertySources appliedPropertySources>;
return v;
}
}