|
[
Permlink
| « Hide
]
Jim Van Fleet added a comment - 02/Aug/05 04:40 PM
The two source files needed for the patch. BackgroundProcess is a new class.
Jim, this is committed -- but can you helping out with the documentation effort? Basically, anything that is new, can you make sure it is in the docs for this interceptor?
Sure thing. Name all the places you want me to put something. I'll head over to the wiki, now.
For JavaDoc, Is the JavaDoc sufficient? I think I may have missed a new method or two. This is the real attachment. Sorry, the other one was from a test.
Patrick,
I think that beforeInvocation() needs to happen inside the thread's run() method. Otherwise any ThreadLocal-based functionality that beforeInvocation() uses will not get a chance to bind the thread running the background process. Is there something I'm missing as to why the beforeInvocation() is better placed outside? Also, I am pretty sure that the result field needs to get the result of action.execute() as the ExecuteAndWaitInterceptor will later return that value as the result; it will be null otherwise. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||