org.objectweb.jotm.impl.ots
Class ResourceParticipant

java.lang.Object
  |
  +--org.objectweb.jotm.impl.ots.ResourceParticipant
All Implemented Interfaces:
EventListener

public class ResourceParticipant
extends java.lang.Object
implements EventListener


Constructor Summary
ResourceParticipant(org.omg.CosTransactions.Resource res)
           
 
Method Summary
 void handleEvent(Event event)
          Handle event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceParticipant

public ResourceParticipant(org.omg.CosTransactions.Resource res)
Method Detail

handleEvent

public void handleEvent(Event event)
Description copied from interface: EventListener
Handle event. This method is invoked when an event of the specified type occurs. Clearly, the listener had to be registered as a listener of the event type before the event occurs.

Specified by:
handleEvent in interface EventListener
Parameters:
event - event data