[REST] AnnotationServletServiceRouter中fireAfterDoServiceEvent与firePreDoServiceEvent
jispirit
2012-07-05
AnnotationServletServiceRouter中fireAfterDoServiceEvent与firePreDoServiceEvent中的 this.ropEventMulticaster.multicastEvent(new PreDoServiceEvent(this, requestContext)); 是不是应该这样,fire的时候应该对应的evnt。还有就是文件上传是怎么考虑?RopUploadRequest? |
|
kelloKitty
2012-07-05
嗯,是的,写反了。fireAfterDoServiceEvent对应的应该是this.roptMulticaster.multicastEvent(new AfterDoServiceEvent(this, requestContext));
|
|
stamen
2012-07-14
已经改过来了 ,谢谢!
private void fireAfterDoServiceEvent(RequestContext requestContext) { this.ropEventMulticaster.multicastEvent(new AfterDoServiceEvent(this, requestContext)); } private void firePreDoServiceEvent(RequestContext requestContext) { this.ropEventMulticaster.multicastEvent(new PreDoServiceEvent(this, requestContext)); } |