Why so much trouble inside your UI layer? Normally Wicket components are
single-threaded, but with your solution you may introduce race conditions.

Move the ExecutorService into your service layer:
   http://pastebin.com/NN58fiZx

new ProcessExecutorPanel("associatedFilesMigration") {
      @Override
      protected Future<?> start() {
           return injectedSpringBean.startMigration();
      }
};
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/PROPOSAL-Application-runAs-Method-tp2230030p2234624.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to