Class LongOperationWithObserverPopup

java.lang.Object
org.eclnt.jsfserver.polling.LongOperationWithObserverPopup

public class LongOperationWithObserverPopup extends Object
Facade for starting a long operation from the UI processing. The long operation is observed through a modal popup (so that it cannot be interrupted by the user). The long operation can write messages into an IObserver object, the messages are displayed to the user using long polling.
  • Constructor Details

    • LongOperationWithObserverPopup

      public LongOperationWithObserverPopup()
  • Method Details

    • prepare

      public static IObserver prepare(String headline)
    • run

      public static void run(Runnable longOperation, Runnable finishedOperation)
    • run

      public static void run(Runnable longOperation, Runnable finishedOperation, int durationShowingLastMessages)