Java Code Examples for org.springframework.core.env.EnumerablePropertySource#getName()

The following examples show how to use org.springframework.core.env.EnumerablePropertySource#getName() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EncryptableEnumerablePropertySourceWrapper.java    From jasypt-spring-boot with MIT License 4 votes vote down vote up
public EncryptableEnumerablePropertySourceWrapper(EnumerablePropertySource<T> delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter) {
    super(delegate.getName(), delegate.getSource());
    encryptableDelegate = new CachingDelegateEncryptablePropertySource<>(delegate, resolver, filter);
}
 
Example 2
Source File: BootstrapPropertySource.java    From spring-cloud-commons with Apache License 2.0 4 votes vote down vote up
public BootstrapPropertySource(EnumerablePropertySource<T> delegate) {
	super(BOOTSTRAP_PROPERTY_SOURCE_NAME + "-" + delegate.getName(),
			delegate.getSource());
	this.delegate = delegate;
}
 
Example 3
Source File: SecretAwarePropertySource.java    From kork with Apache License 2.0 4 votes vote down vote up
public SecretAwarePropertySource(EnumerablePropertySource source, SecretManager secretManager) {
  super(source.getName(), source);
  this.secretManager = secretManager;
}