`
kxhu
  • 浏览: 80421 次
社区版块
存档分类
最新评论

deep web arch for refactor

阅读更多
process:
    一:sys boot
        1:Bundle-Activator: org.hippoproject.framework.web.osgi.WebPresentationPlugModule
        2:WebPresentationPlugModule extends BasePlugModule
        3:preStarted(BundleContext context
    二:servlet ready
       1:new Servlet(new HippoWebFrameworkServlet(this,presentationManager);)
       2:org.osgi.service.http.HttpService.registerServlet
            httpService.registerServlet(this.getConfiguration().getPlugModuleProperties().get("serviceRoot"), this.frameworkServlet, null, null);
       3:when a http request come,the osgi httpService implementer send the request(or invoke registed servlet method) and then our Servlet instance will work
    三:inner logic process(isolation http)
      
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics