All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zyy.common.thread.HandleAsyncThread Maven / Gradle / Ivy

package com.zyy.common.thread;

import com.zyy.common.aspect.HandleAspect;
import com.zyy.common.util.TokenModel;
import lombok.AllArgsConstructor;
import org.aspectj.lang.ProceedingJoinPoint;

@AllArgsConstructor
public class HandleAsyncThread extends Thread {

    private final ProceedingJoinPoint joinPoint;
    private final Object proceed;
    private final TokenModel tokenModel;

    @Override
    public void run() {
        HandleAspect.handle(joinPoint, proceed, tokenModel);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy