[concurrency-interest] Reason behind making execute method of SwingWorker as final ?
joe.bowbeer at gmail.com
Mon Mar 2 11:00:10 EST 2009
I see your point. For your purposes, it would be nice if you could supply
your own executor service, or even thread factory. If only the
getWorkerExecutorService method was not private static...
Manually submitting the SwingWorker to a custom executor was the solution
envisioned by the designers.
See related discussion:
I suggest you contact Igor Kushnirskiy and/or whoever is currently
On Sun, Mar 1, 2009 at 9:52 PM, Mallikarjunaiah, Praveena wrote:
> I was wondering why execute() method of SwingWorker is made final. In
> some cases, I want certain type of SwingWorker's to use a specific
> Currently, this can be done by explicitly putting the worker in a custom
> executor service. I would like put this logic in execute() method so
> Generators of SwingWorker need not worry how to execute them.
> Am I missing something here ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest