org.apache.geronimo.console.cli.controller
Class ProgressMonitor

java.lang.Object
  extended byorg.apache.geronimo.console.cli.TextController
      extended byorg.apache.geronimo.console.cli.controller.ProgressMonitor
All Implemented Interfaces:
EventListener, javax.enterprise.deploy.spi.status.ProgressListener

public class ProgressMonitor
extends TextController
implements javax.enterprise.deploy.spi.status.ProgressListener

Watch the progress of a long-running operation.

Version:
$Revision: 1.4 $ $Date: 2004/03/10 09:58:41 $

Field Summary
 
Fields inherited from class org.apache.geronimo.console.cli.TextController
context
 
Constructor Summary
ProgressMonitor(DeploymentContext context, javax.enterprise.deploy.spi.status.ProgressObject progress)
           
 
Method Summary
 void execute()
           
 void handleProgressEvent(javax.enterprise.deploy.spi.status.ProgressEvent event)
           
 
Methods inherited from class org.apache.geronimo.console.cli.TextController
available, available, confirmModuleAction, ensureConnected, initializeDConfigBean, newScreen, print, println, truncate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressMonitor

public ProgressMonitor(DeploymentContext context,
                       javax.enterprise.deploy.spi.status.ProgressObject progress)
Method Detail

execute

public void execute()
Specified by:
execute in class TextController

handleProgressEvent

public void handleProgressEvent(javax.enterprise.deploy.spi.status.ProgressEvent event)
Specified by:
handleProgressEvent in interface javax.enterprise.deploy.spi.status.ProgressListener


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.