Class HvlAsyncTokenStartupContextListener

java.lang.Object
tr.com.havelsan.javarch.oauth.async.token.provider.context.listener.HvlAsyncTokenStartupContextListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>

@Component public class HvlAsyncTokenStartupContextListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
The class in which the token is initialized in context.
  • Constructor Details

    • HvlAsyncTokenStartupContextListener

      public HvlAsyncTokenStartupContextListener(HvlAsyncTokenAuthenticationService asyncTokenAuthenticationService, HvlAsyncTokenProperties asyncTokenProperties)
      Instantiates a new HvlAsyncTokenStartupContextListener.
      Parameters:
      asyncTokenAuthenticationService - the async token authentication service
      asyncTokenProperties - the async token properties
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(org.springframework.boot.context.event.ApplicationPreparedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>