2020/04/13
22:00
起初是为了能在netty的处理中能直接注入对象,所以需要将 Channel 交由spring管理。所以有了以下注解: @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Component @Scope public @interface NettyComponent { @AliasFor( annotation = Component.class ) String value() default ""; @AliasFor( value = "scopeName", annotation = S...... Read More →