mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-19 16:16:19 +00:00
perf[module]: Event和protocol模块注释
This commit is contained in:
1 parent
e4d3945142
commit
036ba4885c
5 files changed
+35
-1
No files matched your search
@@ -31,6 +31,8 @@ import java.util.concurrent.ExecutorService;
|
||||
/**
|
||||
* @author jaysunxiao
|
||||
* @version 3.0
|
||||
* <p>
|
||||
* 在EventRegisterProcessor 中完成扫描
|
||||
*/
|
||||
public class EventContext implements ApplicationListener<ApplicationContextEvent>, Ordered {
|
||||
|
||||
|
||||
@@ -29,6 +29,9 @@ import org.springframework.beans.factory.config.BeanPostProcessor;
|
||||
import java.lang.reflect.Modifier;
|
||||
|
||||
/**
|
||||
* 这是一个后置处理器,在boot项目中注册EventContext时,会import导入EventRegisterProcessor这个组件,这是一个后置处理器,
|
||||
* 断点发现 在AbstractAutowireCapableBeanFactory或调用getBeanPostProcessors,这样子每一个后置处理器都会走postProcessAfterInitialization这个方法
|
||||
*
|
||||
* @author jaysunxiao
|
||||
* @version 3.0
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user