javax.management.modelmbean.ModelMBeanNotificationBroadcaster Java Examples

The following examples show how to use javax.management.modelmbean.ModelMBeanNotificationBroadcaster. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ModelMBeanNotificationPublisher.java    From spring-analysis-note with MIT License 5 votes vote down vote up
/**
 * 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;
}
 
Example #2
Source File: ModelMBeanNotificationPublisher.java    From java-technology-stack with MIT License 5 votes vote down vote up
/**
 * 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;
}
 
Example #3
Source File: ModelMBeanNotificationPublisher.java    From lams with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #4
Source File: ModelMBeanNotificationPublisher.java    From spring4-understanding with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #5
Source File: NotificationSenderAdapter.java    From activiti6-boot2 with Apache License 2.0 4 votes vote down vote up
public NotificationSenderAdapter(ModelMBeanNotificationBroadcaster broadcaster) {
  this.broadcaster = broadcaster;
}
 
Example #6
Source File: NotificationSenderAdapter.java    From flowable-engine with Apache License 2.0 4 votes vote down vote up
public NotificationSenderAdapter(ModelMBeanNotificationBroadcaster broadcaster) {
    this.broadcaster = broadcaster;
}