org.planx.xmlstore.routing.operation
Class Operation

java.lang.Object
  extended by org.planx.xmlstore.routing.operation.Operation
Direct Known Subclasses:
ConnectOperation, NodeLookupOperation, RefreshOperation, RemoveOperation, ResponsibleOperation, RestoreOperation, StoreOperation

public abstract class Operation
extends Object

User initiated operations should be subclasses of this class.


Constructor Summary
Operation()
           
 
Method Summary
abstract  Object execute()
          Starts the operation and returns when the operation is finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operation

public Operation()
Method Detail

execute

public abstract Object execute()
                        throws IOException,
                               RoutingException
Starts the operation and returns when the operation is finished.

Throws:
IOException
RoutingException


Copyright © 2010. All Rights Reserved.