org.apache.excalibur.event.impl
Class MultiCastSink.DefaultPreparedEnqueue

java.lang.Object
  extended by org.apache.excalibur.event.impl.MultiCastSink.DefaultPreparedEnqueue
All Implemented Interfaces:
org.apache.excalibur.event.PreparedEnqueue
Enclosing class:
MultiCastSink

private static final class MultiCastSink.DefaultPreparedEnqueue
extends java.lang.Object
implements org.apache.excalibur.event.PreparedEnqueue

A prepared enqueue object that holds other prepared enqueue objects and allows to perform a commit / abort on all of these objects.

Since:
May 16, 2002
Author:
Avalon Development Team

Field Summary
private  java.util.Collection m_preparedEnqueues
          A collection of prepared enqueue objects
 
Constructor Summary
private MultiCastSink.DefaultPreparedEnqueue()
           
 
Method Summary
 void abort()
           
 void addPreparedEnqueue(org.apache.excalibur.event.PreparedEnqueue preparedEnqueue)
          Adds a prepared enqueue object to the list of prepared enqueues.
 void commit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_preparedEnqueues

private final java.util.Collection m_preparedEnqueues
A collection of prepared enqueue objects

Constructor Detail

MultiCastSink.DefaultPreparedEnqueue

private MultiCastSink.DefaultPreparedEnqueue()
Method Detail

abort

public void abort()
Specified by:
abort in interface org.apache.excalibur.event.PreparedEnqueue
See Also:
PreparedEnqueue.abort()

commit

public void commit()
Specified by:
commit in interface org.apache.excalibur.event.PreparedEnqueue
See Also:
PreparedEnqueue.commit()

addPreparedEnqueue

public void addPreparedEnqueue(org.apache.excalibur.event.PreparedEnqueue preparedEnqueue)
Adds a prepared enqueue object to the list of prepared enqueues.

Parameters:
preparedEnqueue - The prepared enqueue object to be added.
Since:
May 16, 2002