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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(TokenRefreshEvent event) voidtryHandle(TokenRefreshEvent event, Exception throwable)
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
handle
- Specified by:
handlein interfacecom.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:
tryHandlein interfacecom.sankcrm.erp.event.EventHandler<TokenRefreshEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-