Class CachingDelegateEncryptablePropertySource<T>
java.lang.Object
org.springframework.core.env.PropertySource<T>
com.ulisesbocchio.jasyptspringboot.caching.CachingDelegateEncryptablePropertySource<T>
- All Implemented Interfaces:
EncryptablePropertySource<T>,org.springframework.boot.origin.OriginLookup<String>
- Direct Known Subclasses:
EncryptablePropertySourceMethodInterceptor
public class CachingDelegateEncryptablePropertySource<T>
extends org.springframework.core.env.PropertySource<T>
implements EncryptablePropertySource<T>
CachingDelegateEncryptablePropertySource class.
- Version:
- $Id: $Id
- Author:
- Sergio.U.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
ConstructorsConstructorDescriptionCachingDelegateEncryptablePropertySource(org.springframework.core.env.PropertySource<T> delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter) Constructor for CachingDelegateEncryptablePropertySource. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.env.PropertySource<T>getDelegate.getProperty(String name) getProperty.voidrefresh()refresh.Methods inherited from class org.springframework.core.env.PropertySource
containsProperty, equals, getName, 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
-
Constructor Details
-
CachingDelegateEncryptablePropertySource
public CachingDelegateEncryptablePropertySource(org.springframework.core.env.PropertySource<T> delegate, EncryptablePropertyResolver resolver, EncryptablePropertyFilter filter) Constructor for CachingDelegateEncryptablePropertySource.
- Parameters:
delegate- aPropertySourceobjectresolver- aEncryptablePropertyResolverobjectfilter- aEncryptablePropertyFilterobject
-
-
Method Details
-
getDelegate
getDelegate.
- Specified by:
getDelegatein interfaceEncryptablePropertySource<T>- Returns:
- a
PropertySourceobject
-
getProperty
getProperty.
- Specified by:
getPropertyin interfaceEncryptablePropertySource<T>- Specified by:
getPropertyin classorg.springframework.core.env.PropertySource<T>- Parameters:
name- aStringobject- Returns:
- a
Objectobject
-
refresh
public void refresh()refresh.
- Specified by:
refreshin interfaceEncryptablePropertySource<T>
-
getSource
- Overrides:
getSourcein classorg.springframework.core.env.PropertySource<T>
-