use of org.springframework.context.event.SmartApplicationListener in project spring-security by spring-projects.
the class SessionManagementConfigurer method registerDelegateApplicationListener.
private void registerDelegateApplicationListener(H http, ApplicationListener<?> delegate) {
DelegatingApplicationListener delegating = getBeanOrNull(DelegatingApplicationListener.class);
if (delegating == null) {
return;
}
SmartApplicationListener smartListener = new GenericApplicationListenerAdapter(delegate);
delegating.addListener(smartListener);
}
Aggregations