org.gcube.vremanagement.resourcemanager.impl.operators
Class Operator

java.lang.Object
  extended by org.gcube.vremanagement.resourcemanager.impl.operators.Operator
Direct Known Subclasses:
AddResourcesOperator, DeployServiceOperator, DisposeScopeOperator, RemoveResourcesOperator, ScopedResourceManagerOperator

public abstract class Operator
extends java.lang.Object

Base class for manager's operators . A manage operator is devoted to execute certain assigned tasks. The exec() method is asynchronously called

Author:
Manuele Simi (ISTI-CNR)

Nested Class Summary
static class Operator.ACTION
           
 
Constructor Summary
Operator()
           
 
Method Summary
abstract  void exec()
          Executes the operator's tasks
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operator

public Operator()
Method Detail

run

public final void run()

exec

public abstract void exec()
                   throws java.lang.Exception
Executes the operator's tasks

Throws:
java.lang.Exception - if any of the tasks fails