List of usage examples for javax.management.remote JMXConnectionNotification JMXConnectionNotification
public JMXConnectionNotification(String type, Object source, String connectionId, long sequenceNumber, String message, Object userData)
From source file:org.logicblaze.lingo.jmx.remote.jms.JmsJmxConnector.java
private void sendConnectionNotificationOpened() { JMXConnectionNotification notification = new JMXConnectionNotification(JMXConnectionNotification.OPENED, this, getConnectionId(), notificationNumber.incrementAndGet(), "Connection opened", null); connectionNotifier.sendNotification(notification); }
From source file:org.logicblaze.lingo.jmx.remote.jms.JmsJmxConnector.java
private void sendConnectionNotificationClosed() { JMXConnectionNotification notification = new JMXConnectionNotification(JMXConnectionNotification.CLOSED, this, getConnectionId(), notificationNumber.incrementAndGet(), "Connection closed", null); connectionNotifier.sendNotification(notification); }
From source file:org.logicblaze.lingo.jmx.remote.jms.JmsJmxConnector.java
private void sendConnectionNotificationFailed(String message) { JMXConnectionNotification notification = new JMXConnectionNotification(JMXConnectionNotification.FAILED, this, getConnectionId(), notificationNumber.incrementAndGet(), message, null); connectionNotifier.sendNotification(notification); }