br.gov.frameworkdemoiselle.internal.implementation
Class NotificationEventListener

java.lang.Object
  extended by br.gov.frameworkdemoiselle.internal.implementation.NotificationEventListener
All Implemented Interfaces:
java.io.Serializable

@ApplicationScoped
public class NotificationEventListener
extends java.lang.Object
implements java.io.Serializable

Listens to NotificationManager notification events and proxies them to a NotificationBroadcaster MBean. This MBean will send the notification to any JMX clients connected and listening.

Author:
serpro
See Also:
Serialized Form

Constructor Summary
NotificationEventListener()
           
 
Method Summary
 NotificationBroadcaster createNotificationBroadcaster()
           
 void sendNotification(ManagementNotificationEvent event, JMXConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationEventListener

public NotificationEventListener()
Method Detail

sendNotification

public void sendNotification(@Observes
                             ManagementNotificationEvent event,
                             JMXConfig config)

createNotificationBroadcaster

public NotificationBroadcaster createNotificationBroadcaster()


Copyright © 2014 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.