br.gov.frameworkdemoiselle.internal.implementation
Class NotificationEventListener

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

@ApplicationScoped
public class NotificationEventListener
extends Object
implements 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 sendAttributeChangedMessage(ManagementNotificationEvent event, JMXConfig config)
           
 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)

sendAttributeChangedMessage

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

createNotificationBroadcaster

public NotificationBroadcaster createNotificationBroadcaster()


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