Package org.entur.jwt.client.spring
Class EagerContextStartedListener
java.lang.Object
org.entur.jwt.client.spring.EagerContextStartedListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextStartedEvent>
public class EagerContextStartedListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextStartedEvent>
This kicks off the eager JWT caching, if enabled. If fetching JWTs fail, a warning is logged.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.context.event.ContextStartedEvent cse) 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
-
Constructor Details
-
EagerContextStartedListener
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextStartedEvent cse) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextStartedEvent>
-