rpc自定义框架运行流程

1.在spring.xml中需要将框架的类配置进去。 2.用户只需要写实现类并添加上注解。 3.在main函数中加载spring.xml配置文件(实际是可以在tomcat的web.xml文件中加载),会启动springContent容器,spring会去构造框架中的RpcServer,在RpcServer框架中会实现了ApplicationContextAware, InitializingBea
相关文章
相关标签/搜索