On Mon, 19 Mar 2007, Steve Loughran <[EMAIL PROTECTED]> wrote: > Wascally Wabbit wrote:
>> Perhaps there could be a clear "I'm configured" trigger or event or >> callback or method or something before the task's execute method is >> called. > > +1 +1 here as well. >> + Perhaps DataTypes can also have the ability to know when they've >> been completely configured (from Ant's perspective)? Agreed as well. > -A componentTerminated() method is useful to say "you are no longer > needed, ever. Clean up. Because finalizers are a no-no, and > execute(), well, it can retain some state, can't it?" It would never be called on DataTypes, at least not things you've stuffed into the references table. Why should a task need a cleanup method beyond "end of execute has been reached"? With 1.7 you don't reuse tasks beyond theri execution time anymore. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]