org.apache.jackrabbit.spi.commons
Class EventBundleImpl

java.lang.Object
  extended by org.apache.jackrabbit.spi.commons.EventBundleImpl
All Implemented Interfaces:
Serializable, Iterable<org.apache.jackrabbit.spi.Event>, org.apache.jackrabbit.spi.EventBundle

public class EventBundleImpl
extends Object
implements org.apache.jackrabbit.spi.EventBundle, Serializable

EventBundleImpl implements a serializable EventBundle.

See Also:
Serialized Form

Constructor Summary
EventBundleImpl(Collection<org.apache.jackrabbit.spi.Event> events, boolean isLocal)
          Creates a new event bundle with events.
 
Method Summary
 Iterator<org.apache.jackrabbit.spi.Event> getEvents()
          
 boolean isLocal()
          
 Iterator<org.apache.jackrabbit.spi.Event> iterator()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventBundleImpl

public EventBundleImpl(Collection<org.apache.jackrabbit.spi.Event> events,
                       boolean isLocal)
Creates a new event bundle with events.

Parameters:
events - the events for this bundle.
isLocal - if this events were created due to a local change.
Method Detail

getEvents

public Iterator<org.apache.jackrabbit.spi.Event> getEvents()

Specified by:
getEvents in interface org.apache.jackrabbit.spi.EventBundle

isLocal

public boolean isLocal()

Specified by:
isLocal in interface org.apache.jackrabbit.spi.EventBundle

iterator

public Iterator<org.apache.jackrabbit.spi.Event> iterator()

Specified by:
iterator in interface Iterable<org.apache.jackrabbit.spi.Event>


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.