Class OnTokenRefreshEvent.Handler

java.lang.Object
com.sankcrm.erp.auth.event.wechat.OnTokenRefreshEvent.Handler
All Implemented Interfaces:
com.sankcrm.erp.event.EventHandler<TokenRefreshEvent>
Enclosing interface:
OnTokenRefreshEvent

@Component("refreshTokenOnTokenRefreshEvent") public static class OnTokenRefreshEvent.Handler extends Object implements com.sankcrm.erp.event.EventHandler<TokenRefreshEvent>
  • Constructor Details

    • Handler

      public Handler()
  • Method Details

    • handle

      public void handle(TokenRefreshEvent event) throws com.sankcrm.erp.common.exception.CoreException
      Specified by:
      handle in interface com.sankcrm.erp.event.EventHandler<TokenRefreshEvent>
      Throws:
      com.sankcrm.erp.common.exception.CoreException
    • tryHandle

      public void tryHandle(TokenRefreshEvent event, Exception throwable) throws com.sankcrm.erp.common.exception.CoreException
      Specified by:
      tryHandle in interface com.sankcrm.erp.event.EventHandler<TokenRefreshEvent>
      Throws:
      com.sankcrm.erp.common.exception.CoreException