Class AccountAutoEnableListener

java.lang.Object
org.springframework.data.redis.listener.KeyspaceEventMessageListener
org.springframework.data.redis.listener.KeyExpirationEventMessageListener
cn.herodotus.engine.oauth2.management.compliance.listener.AccountAutoEnableListener
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.data.redis.connection.MessageListener

public class AccountAutoEnableListener extends org.springframework.data.redis.listener.KeyExpirationEventMessageListener

Description: 账户锁定状态监听

Author:
: gengwei.zheng
Date:
: 2022/7/8 11:11
  • Constructor Summary

    Constructors
    Constructor
    Description
    AccountAutoEnableListener(org.springframework.data.redis.listener.RedisMessageListenerContainer listenerContainer, OAuth2AccountStatusManager accountStatusManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMessage(org.springframework.data.redis.connection.Message message, byte[] pattern)
     

    Methods inherited from class org.springframework.data.redis.listener.KeyExpirationEventMessageListener

    doHandleMessage, doRegister, publishEvent, setApplicationEventPublisher

    Methods inherited from class org.springframework.data.redis.listener.KeyspaceEventMessageListener

    afterPropertiesSet, destroy, init, setKeyspaceNotificationsConfigParameter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AccountAutoEnableListener

      public AccountAutoEnableListener(org.springframework.data.redis.listener.RedisMessageListenerContainer listenerContainer, OAuth2AccountStatusManager accountStatusManager)
  • Method Details

    • onMessage

      public void onMessage(org.springframework.data.redis.connection.Message message, byte[] pattern)
      Specified by:
      onMessage in interface org.springframework.data.redis.connection.MessageListener
      Overrides:
      onMessage in class org.springframework.data.redis.listener.KeyspaceEventMessageListener