rpc自定義框架運行流程

1.在spring.xml中需要將框架的類配置進去。 2.用戶只需要寫實現類並添加上註解。 3.在main函數中加載spring.xml配置文件(實際是可以在tomcat的web.xml文件中加載),會啓動springContent容器,spring會去構造框架中的RpcServer,在RpcServer框架中會實現了ApplicationContextAware, InitializingBea
相關文章
相關標籤/搜索