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
-
-
Constructor Summary
Constructors Constructor Description EncryptableEnumerablePropertySourceWrapper(org.springframework.core.env.EnumerablePropertySource<T> delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter)Constructor for EncryptableEnumerablePropertySourceWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.env.PropertySource<T>getDelegate()getDelegate.ObjectgetProperty(String name)getProperty.String[]getPropertyNames()-
Methods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ulisesbocchio.jasyptspringboot.EncryptablePropertySource
getOrigin, getPrefix, getProperty, isImmutable, refresh
-
-
-
-
Constructor Detail
-
EncryptableEnumerablePropertySourceWrapper
public EncryptableEnumerablePropertySourceWrapper(org.springframework.core.env.EnumerablePropertySource<T> delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter)
Constructor for EncryptableEnumerablePropertySourceWrapper.
- Parameters:
delegate- aEnumerablePropertySourceobjectresolver- aEncryptablePropertyResolverobjectfilter- aEncryptablePropertyFilterobject
-
-
Method Detail
-
getProperty
public Object getProperty(String name)
getProperty.
- Specified by:
getPropertyin interfaceEncryptablePropertySource<T>- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<T>- Parameters:
name- aStringobject- Returns:
- a
Objectobject
-
getDelegate
public org.springframework.core.env.PropertySource<T> getDelegate()
getDelegate.
- Specified by:
getDelegatein interfaceEncryptablePropertySource<T>- Returns:
- a
PropertySourceobject
-
-