de.infinityloop.util.log
Class LogEventAggregator

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<LogEvent>
              extended by de.infinityloop.util.log.LogEventCollector
                  extended by de.infinityloop.util.log.LogEventAggregator
All Implemented Interfaces:
LogBroadcaster, LogListener, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<LogEvent>, java.util.Collection<LogEvent>, java.util.List<LogEvent>, java.util.RandomAccess

public class LogEventAggregator
extends LogEventCollector

A Log Event broker that collects messages from several different log sources and to which listeners can subscribe as a single point of log event source.

Author:
Christian Roth
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LogEventAggregator()
           
 
Method Summary
 boolean receiveLogEvent(LogEvent le)
          This overrides our superclass behaviour in that we do not store events!
 
Methods inherited from class de.infinityloop.util.log.LogEventCollector
addedTo, addLogListener, broadcast, clear, countType, equals, extractSignificantEntries, extractSignificantEntries, getAsString, getCode, getEmbeddedException, getEntriesByType, getEntryByCode, getFilter, getLogEvent, getMessage, getNotifications, getParameters, hashCode, removeAllSubscribers, removedFrom, removeLogListener, setFilter, setLevel, toString, unregisterFromAll
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

LogEventAggregator

public LogEventAggregator()
Parameters:
f -
Method Detail

receiveLogEvent

public boolean receiveLogEvent(LogEvent le)
This overrides our superclass behaviour in that we do not store events!

Specified by:
receiveLogEvent in interface LogListener
Overrides:
receiveLogEvent in class LogEventCollector
Parameters:
le -
Returns:
See Also:
LogEventCollector.receiveLogEvent(de.infinityloop.util.log.LogEvent)