原文:Decoder is not a @Sharable handler, so can't be added or removed multiple times

Decoder is not a Sharable handler, so can t be added or removed multiple times 每次都new 一個不采用final ...

2018-12-03 17:11 0 1649 推薦指數:

查看詳情

is not a @Sharable handler解決方法

is not a @Sharable handler解決方法 昨天在寫編碼器的時候,因為是和spring整合,因此在使用編碼的時候用Autowired自動注入 @Autowired private ProtocolDecoder ...

Tue Jun 16 03:12:00 CST 2020 0 2155
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM