package com.uas.platform.b2b.listener;

import com.uas.platform.b2b.event.SaveEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * 监听新增数据事件<br>
 * 将新增的数据拆分关键词，利于检索
 * 
 * @author yingp
 * 
 */
@Component
public class KeywordListener implements ApplicationListener<SaveEvent<?, ?>> {

	@SuppressWarnings("unchecked")
	@Async
	@Override
	public void onApplicationEvent(final SaveEvent<?, ?> event) {
	}

}
