/**
* Create a new instance of the {@link ModelMBeanNotificationPublisher} class
* that will publish all {@link javax.management.Notification Notifications}
* to the supplied {@link ModelMBean}.
* @param modelMBean the target {@link ModelMBean}; must not be {@code null}
* @param objectName the {@link ObjectName} of the source {@link ModelMBean}
* @param managedResource the managed resource exposed by the supplied {@link ModelMBean}
* @throws IllegalArgumentException if any of the parameters is {@code null}
*/
public ModelMBeanNotificationPublisher(
ModelMBeanNotificationBroadcaster modelMBean, ObjectName objectName, Object managedResource) {
Assert.notNull(modelMBean, "'modelMBean' must not be null");
Assert.notNull(objectName, "'objectName' must not be null");
Assert.notNull(managedResource, "'managedResource' must not be null");
this.modelMBean = modelMBean;
this.objectName = objectName;
this.managedResource = managedResource;
}
ModelMBeanNotificationPublisher.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:lams
作者:
评论列表
文章目录