Class EncryptableEnumerablePropertySourceWrapper<T>
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<T>
com.ulisesbocchio.jasyptspringboot.wrapper.EncryptableEnumerablePropertySourceWrapper<T>
- All Implemented Interfaces:
EncryptablePropertySource<T>,org.springframework.boot.origin.OriginLookup<String>
public class EncryptableEnumerablePropertySourceWrapper<T>
extends org.springframework.core.env.EnumerablePropertySource<T>
implements EncryptablePropertySource<T>
EncryptableEnumerablePropertySourceWrapper class.
- Version:
- $Id: $Id
- Author:
- Ulises Bocchio
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.PropertySource.StubPropertySource -
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source -
Constructor Summary
ConstructorsConstructorDescriptionEncryptableEnumerablePropertySourceWrapper(org.springframework.core.env.EnumerablePropertySource<T> delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter) Constructor for EncryptableEnumerablePropertySourceWrapper. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.env.PropertySource<T>getDelegate.getProperty(String name) getProperty.String[]Methods inherited from class org.springframework.core.env.EnumerablePropertySource
containsPropertyMethods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ulisesbocchio.jasyptspringboot.EncryptablePropertySource
getOrigin, getPrefix, getProperty, isImmutable, refresh
-
Constructor Details
-
EncryptableEnumerablePropertySourceWrapper
public EncryptableEnumerablePropertySourceWrapper(org.springframework.core.env.EnumerablePropertySource<T> delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter) Constructor for EncryptableEnumerablePropertySourceWrapper.
- Parameters:
delegate- aEnumerablePropertySourceobjectresolver- aEncryptablePropertyResolverobjectfilter- aEncryptablePropertyFilterobject
-
-
Method Details
-
getProperty
getProperty.
- Specified by:
getPropertyin interfaceEncryptablePropertySource<T>- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<T>- Parameters:
name- aStringobject- Returns:
- a
Objectobject
-
getDelegate
getDelegate.
- Specified by:
getDelegatein interfaceEncryptablePropertySource<T>- Returns:
- a
PropertySourceobject
-
getPropertyNames
- Specified by:
getPropertyNamesin classorg.springframework.core.env.EnumerablePropertySource<T>
-