nu.zoom.ldap.eon.operation
Class OperationManagerImpl

java.lang.Object
  extended by nu.zoom.ldap.eon.operation.OperationManagerImpl
All Implemented Interfaces:
OperationManager

public class OperationManagerImpl
extends Object
implements OperationManager

Version:
$Revision: 1.5 $
Author:
$Author: johan $

Constructor Summary
OperationManagerImpl(Workbench workbench, OperationRunner operationRunner)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationManagerImpl

public OperationManagerImpl(Workbench workbench,
                            OperationRunner operationRunner)
Method Detail

operationStarting

public void operationStarting(OperationRunner operation)
Description copied from interface: OperationManager
Internal method used by operations to inform the manager of its state. There is no need to call this method.

Specified by:
operationStarting in interface OperationManager
Parameters:
operation - The operation that is starting.

operationFinished

public void operationFinished(OperationRunner operation)
Description copied from interface: OperationManager
Internal method used by operations to inform the manager of its state. There is no need to call this method.

Specified by:
operationFinished in interface OperationManager
Parameters:
operation - The operation that is starting.

runOperation

public void runOperation(Operation operation)
Description copied from interface: OperationManager
Schedule an operation for execution. The operation will be run in a separate thread.

Specified by:
runOperation in interface OperationManager
Parameters:
operation - The operation to run. Can not be null.


Copyright © 2011. All Rights Reserved.