Class EnvCopy
- java.lang.Object
-
- com.ulisesbocchio.jasyptspringboot.configuration.EnvCopy
-
public class EnvCopy extends Object
Need a copy of the environment without the Enhanced property sources to avoid circular dependencies.
-
-
Constructor Summary
Constructors Constructor Description EnvCopy(org.springframework.core.env.ConfigurableEnvironment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAfter(String relativePropertySourceName, org.springframework.core.env.PropertySource<?> propertySource)voidaddBefore(String relativePropertySourceName, org.springframework.core.env.PropertySource<?> propertySource)voidaddFirst(org.springframework.core.env.PropertySource<?> propertySource)voidaddLast(org.springframework.core.env.PropertySource<?> propertySource)org.springframework.core.env.ConfigurableEnvironmentget()booleanisAllowed(org.springframework.core.env.PropertySource<?> propertySource)org.springframework.core.env.PropertySource<?>remove(String name)voidreplace(String name, org.springframework.core.env.PropertySource<?> propertySource)
-
-
-
Method Detail
-
isAllowed
public boolean isAllowed(org.springframework.core.env.PropertySource<?> propertySource)
-
addFirst
public void addFirst(org.springframework.core.env.PropertySource<?> propertySource)
-
addLast
public void addLast(org.springframework.core.env.PropertySource<?> propertySource)
-
addBefore
public void addBefore(String relativePropertySourceName, org.springframework.core.env.PropertySource<?> propertySource)
-
addAfter
public void addAfter(String relativePropertySourceName, org.springframework.core.env.PropertySource<?> propertySource)
-
replace
public void replace(String name, org.springframework.core.env.PropertySource<?> propertySource)
-
remove
public org.springframework.core.env.PropertySource<?> remove(String name)
-
get
public org.springframework.core.env.ConfigurableEnvironment get()
-
-