/** * * @param member member to which this MBean belongs * @param objectName ObjectName of the MBean * @param monitoringRegion corresponding MonitoringRegion */ private MBeanProxyInvocationHandler(DistributedMember member, ObjectName objectName, Region<String, Object> monitoringRegion, boolean isMXBean) throws IntrospectionException, ClassNotFoundException { this.member = member; this.objectName = objectName; this.monitoringRegion = monitoringRegion; this.emitter = new NotificationBroadcasterSupport(); this.proxyImpl = new ProxyInterfaceImpl(); this.isMXBean = isMXBean; }
emitter = new NotificationBroadcasterSupport(); when(metricsUtils.getUaaMetricsSubscriber(any())).thenReturn(emitter);
public PeriodicMonitor(Class mbeanInterface, String name) { super(mbeanInterface, true, new NotificationBroadcasterSupport()); this.name = name; this.lastCollectTime = System.currentTimeMillis(); this.monitored = null; }
public ClusterMonitor(Cluster cluster) { super(ClusterMXBean.class, true, new NotificationBroadcasterSupport()); this.name = "co.paralleluniverse.galaxy:type=Cluster"; this.cluster = cluster; registerMBean(); }
public DeployControllerAdmin(C controller) { _controller = controller; _broadcaster = new NotificationBroadcasterSupport(); controller.addLifecycleListener(this); }
public FeaturesServiceMBeanImpl() throws NotCompliantMBeanException { super(FeaturesServiceMBean.class, new NotificationBroadcasterSupport(getBroadcastInfo())); }
public QueuesMBeanImpl() { super(QueuesMBean.class, false, new NotificationBroadcasterSupport( new MBeanNotificationInfo(NOTIFICATION_TYPES, Notification.class.getName(), "Notifications about queues"))); }
/** * Create a new StandardWrapper component with the default basic Valve. */ public StandardWrapper() { super(); swValve=new StandardWrapperValve(); pipeline.setBasic(swValve); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardWrapper component with the default basic Valve. */ public StandardWrapper() { super(); swValve=new StandardWrapperValve(); pipeline.setBasic(swValve); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardWrapper component with the default basic Valve. */ public StandardWrapper() { super(); swValve=new StandardWrapperValve(); pipeline.setBasic(swValve); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardContext component with the default basic Valve. */ public StandardContext() { super(); pipeline.setBasic(new StandardContextValve()); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardWrapper component with the default basic Valve. */ public StandardWrapper() { super(); swValve=new StandardWrapperValve(); pipeline.setBasic(swValve); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardWrapper component with the default basic Valve. */ public StandardWrapper() { super(); swValve=new StandardWrapperValve(); pipeline.setBasic(swValve); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardWrapper component with the default basic Valve. */ public StandardWrapper() { super(); swValve=new StandardWrapperValve(); pipeline.setBasic(swValve); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardWrapper component with the default basic Valve. */ public StandardWrapper() { super(); swValve=new StandardWrapperValve(); pipeline.setBasic(swValve); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardContext component with the default basic Valve. */ public StandardContext() { super(); pipeline.setBasic(new StandardContextValve()); broadcaster = new NotificationBroadcasterSupport(); }
public JMSServerControlImpl(final JMSServerManager server) throws Exception { super(JMSServerControl.class, server.getHornetQServer().getStorageManager()); this.server = server; broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardContext component with the default basic Valve. */ public StandardContext() { super(); pipeline.setBasic(new StandardContextValve()); broadcaster = new NotificationBroadcasterSupport(); }
/** * Create a new StandardWrapper component with the default basic Valve. */ public StandardWrapper() { super(); swValve=new StandardWrapperValve(); pipeline.setBasic(swValve); broadcaster = new NotificationBroadcasterSupport(); }
public ManagementServiceImpl(final MBeanServer mbeanServer, final Configuration configuration) { this.mbeanServer = mbeanServer; jmxManagementEnabled = configuration.isJMXManagementEnabled(); messageCounterEnabled = configuration.isMessageCounterEnabled(); managementAddress = configuration.getManagementAddress(); managementNotificationAddress = configuration.getManagementNotificationAddress(); registry = new ConcurrentHashMap<>(); broadcaster = new NotificationBroadcasterSupport(); notificationsEnabled = true; objectNameBuilder = ObjectNameBuilder.create(configuration.getJMXDomain(), configuration.getName(), configuration.isJMXUseBrokerName()); }