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)
一: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)