nu.zoom.ldap.eon.operation
Interface OperationManager

All Known Implementing Classes:
OperationManagerImpl

public interface OperationManager

Runs operations in separate threads to help make the GUI more responsive.

Version:
$Revision: 1.2 $
Author:
$Author: johan $

Method Summary
 void operationFinished(OperationRunner operation)
          Internal method used by operations to inform the manager of its state.
 void operationStarting(OperationRunner operation)
          Internal method used by operations to inform the manager of its state.
 void runOperation(Operation operation)
          Schedule an operation for execution.
 

Method Detail

runOperation

void runOperation(Operation operation)
Schedule an operation for execution. The operation will be run in a separate thread.

Parameters:
operation - The operation to run. Can not be null.

operationStarting

void operationStarting(OperationRunner operation)
Internal method used by operations to inform the manager of its state. There is no need to call this method.

Parameters:
operation - The operation that is starting.

operationFinished

void operationFinished(OperationRunner operation)
Internal method used by operations to inform the manager of its state. There is no need to call this method.

Parameters:
operation - The operation that is starting.


Copyright © 2011. All Rights Reserved.