Class RefreshScopeRefreshedEventListener
java.lang.Object
com.ulisesbocchio.jasyptspringboot.caching.RefreshScopeRefreshedEventListener
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
@Order(2147483637)
public class RefreshScopeRefreshedEventListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.beans.factory.InitializingBean
RefreshScopeRefreshedEventListener class.
- Version:
- $Id: $Id
- Author:
- Sergio.U.Bocchio
-
Field Summary
FieldsModifier and TypeFieldDescriptionConstantEVENT_CLASS_NAMES -
Constructor Summary
ConstructorsConstructorDescriptionRefreshScopeRefreshedEventListener(org.springframework.core.env.ConfigurableEnvironment environment, EncryptablePropertySourceConverter converter, JasyptEncryptorConfigurationProperties config) Constructor for RefreshScopeRefreshedEventListener. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidonApplicationEvent(org.springframework.context.ApplicationEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Field Details
-
EVENT_CLASS_NAMES
ConstantEVENT_CLASS_NAMES
-
-
Constructor Details
-
RefreshScopeRefreshedEventListener
public RefreshScopeRefreshedEventListener(org.springframework.core.env.ConfigurableEnvironment environment, EncryptablePropertySourceConverter converter, JasyptEncryptorConfigurationProperties config) Constructor for RefreshScopeRefreshedEventListener.
- Parameters:
environment- aConfigurableEnvironmentobjectconverter- aEncryptablePropertySourceConverterobjectconfig- aJasyptEncryptorConfigurationPropertiesobject
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-