接口 NotificationPublisherAware
- 所有超级接口:
Aware
public interface NotificationPublisherAware extends Aware
Interface to be implemented by any Spring-managed resource that is to be registered with anMBeanServer
and wishes to send JMXjavax.management.Notifications
.Provides Spring-created managed resources with a
NotificationPublisher
as soon as they are registered with theMBeanServer
.NOTE: This interface only applies to simple Spring-managed beans which happen to get exported through Spring's
MBeanExporter
. It does not apply to any non-exported beans; neither does it apply to standard MBeans exported by Spring. For standard JMX MBeans, consider implementing theModelMBeanNotificationBroadcaster
interface (or implementing a fullModelMBean
).- 从以下版本开始:
- 2.0
- 作者:
- Rob Harrop, Chris Beams
- 另请参阅:
NotificationPublisher
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
setNotificationPublisher(NotificationPublisher notificationPublisher)
Set theNotificationPublisher
instance for the current managed resource instance.
方法详细资料
setNotificationPublisher
void setNotificationPublisher(NotificationPublisher notificationPublisher)
Set theNotificationPublisher
instance for the current managed resource instance.