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

com.tlcsdm.log.publish.AbtractLogEventHandle Maven / Gradle / Ivy

There is a newer version: 1.6
Show newest version
package com.tlcsdm.log.publish;

import com.tlcsdm.log.event.LogEvent;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;

/**
 * @author: 唐 亮
 * @date: 2022/3/13 17:56
 * @since: 1.0
 */
public abstract class AbtractLogEventHandle {

    @Async
    @EventListener(condition = "#logEvent.logDocument != null")
    public abstract void onApplicationEvent(LogEvent logEvent);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy