edu.ntnu.cikmr.arbitration
Class Arbitration

java.lang.Object
  extended by edu.ntnu.cikmr.services.AbstractService
      extended by edu.ntnu.cikmr.arbitration.Arbitration
All Implemented Interfaces:
Service

public class Arbitration
extends AbstractService


Field Summary
 
Fields inherited from class edu.ntnu.cikmr.services.AbstractService
listenerList
 
Constructor Summary
Arbitration()
           
 
Method Summary
 void addConflictListener(ConflictListener l)
           
 ArbitrationCBR getCBR()
           
 void haltRemoteWorkflow(ConflictEvent e, Conflict conflict)
           
 void haltWorkflow(ConflictEvent e, Conflict conflict)
           
 void init(ServiceManager manager)
           
 boolean isStarted()
           
 void removeConflictListener(ConflictListener l)
           
 void start(PeerGroup peerGroup)
           
 void stop()
           
 
Methods inherited from class edu.ntnu.cikmr.services.AbstractService
addServiceListener, fireServiceStarted, fireServiceStopped, removeServiceListner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arbitration

public Arbitration()
Method Detail

getCBR

public ArbitrationCBR getCBR()

init

public void init(ServiceManager manager)

start

public void start(PeerGroup peerGroup)
           throws java.io.IOException
Throws:
java.io.IOException

stop

public void stop()
          throws java.io.IOException
Throws:
java.io.IOException

isStarted

public boolean isStarted()

addConflictListener

public void addConflictListener(ConflictListener l)

removeConflictListener

public void removeConflictListener(ConflictListener l)

haltWorkflow

public void haltWorkflow(ConflictEvent e,
                         Conflict conflict)

haltRemoteWorkflow

public void haltRemoteWorkflow(ConflictEvent e,
                               Conflict conflict)