org.ow2.jonas.lib.jmbeans.log
Class LogNotificationListener

java.lang.Object
  extended by org.ow2.jonas.lib.jmbeans.log.LogNotificationListener
All Implemented Interfaces:
EventListener, NotificationListener

public class LogNotificationListener
extends Object
implements NotificationListener

Author:
Adriana Danes

Constructor Summary
LogNotificationListener(LogBuffer buf)
          Constructs a NotificationListener for treatement of notifications containining LogRecords
 
Method Summary
 void handleNotification(Notification nf, Object handback)
          Treatement of notifications containining LogRecords
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogNotificationListener

public LogNotificationListener(LogBuffer buf)
Constructs a NotificationListener for treatement of notifications containining LogRecords

Parameters:
buf - LogBuffer objects keeping the LogRecords contained in the received notifications
Method Detail

handleNotification

public void handleNotification(Notification nf,
                               Object handback)
Treatement of notifications containining LogRecords

Specified by:
handleNotification in interface NotificationListener
Parameters:
nf - received notification
handback - object


Copyright © 2010 OW2 Consortium. All Rights Reserved.