/openjdk7/jdk/src/share/classes/javax/management/ |
H A D | NotificationFilter.java | 30 * To be implemented by a any class acting as a notification filter. 31 * It allows a registered notification listener to filter the notifications of interest. 38 * Invoked before sending the specified notification to the listener. 40 * @param notification The notification to be sent. 41 * @return <CODE>true</CODE> if the notification has to be sent to the listener, <CODE>false</CODE> otherwise. 43 public boolean isNotificationEnabled(Notification notification); argument
|
H A D | NotificationListener.java | 37 * Invoked when a JMX notification occurs. 39 * blocking its notification broadcaster. 41 * @param notification The notification. 47 public void handleNotification(Notification notification, Object handback); argument
|
H A D | AttributeChangeNotificationFilter.java | 34 * interface for the {@link javax.management.AttributeChangeNotification attribute change notification}. 55 * Invoked before sending the specified notification to the listener. 56 * <BR>This filter compares the attribute name of the specified attribute change notification 59 * the notification must be sent to the listener and this method returns <CODE>true</CODE>. 61 * @param notification The attribute change notification to be sent. 62 * @return <CODE>true</CODE> if the notification has to be sent to the listener, <CODE>false</CODE> otherwise. 64 public synchronized boolean isNotificationEnabled(Notification notification) { argument 66 String type = notification.getType(); 70 (!(notification instanceo [all...] |
H A D | NotificationFilterSupport.java | 34 * The filtering is performed on the notification type attribute. 36 * Manages a list of enabled notification types. 37 * A method allows users to enable/disable as many notification types as required. 39 * Then, before sending a notification to a listener registered with a filter, 40 * the notification broadcaster compares this notification type with all notification types 41 * enabled by the filter. The notification will be sent to the listener 42 * only if its filter enables this notification type. 64 * @serial {@link Vector} that contains the enabled notification type 79 isNotificationEnabled(Notification notification) argument [all...] |
H A D | MBeanServerDelegate.java | 196 * Enables the MBean server to send a notification. 197 * If the passed <var>notification</var> has a sequence number lesser 200 * @param notification The notification to send. 203 public void sendNotification(Notification notification) { argument 204 if (notification.getSequenceNumber() < 1) { 206 notification.setSequenceNumber(this.sequenceNumber++); 209 broadcaster.sendNotification(notification);
|
H A D | NotificationBroadcasterSupport.java | 41 * <p>By default, the notification dispatch model is synchronous. 57 * not guaranteed that any remote listeners have yet received the notification.</p> 64 * thread sending the notification. This constructor is equivalent to 77 * isNotificationEnabled} returns true for the notification being sent. The call to 86 * send each notification. If it is null, the thread calling <code>sendNotification</code> 97 * invoked by the thread sending the notification. This 108 * @param info an array indicating, for each notification this 109 * MBean may send, the name of the Java class of the notification 110 * and the notification type. Can be null, which is equivalent to 127 * returns true for the notification bein 226 sendNotification(Notification notification) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/nio/sctp/ |
H A D | AbstractNotificationHandler.java | 35 * methods, one for each of the required supported notification types, {@link 38 * appropriate method will be invoked when the notification is received. 51 * Invoked when an implementation specific notification is received from the 54 * @param notification 55 * The notification 64 public HandlerResult handleNotification(Notification notification, argument 73 * @param notification 74 * The notification 82 public HandlerResult handleNotification(AssociationChangeNotification notification, argument 91 * @param notification 100 handleNotification(PeerAddressChangeNotification notification, T attachment) argument 118 handleNotification(SendFailedNotification notification, T attachment) argument 136 handleNotification(ShutdownNotification notification, T attachment) argument [all...] |
H A D | NotificationHandler.java | 30 * <P> The SCTP channels defined in this package allow a notification handler to 32 * notification is received the {@linkplain #handleNotification 34 * notification. 37 * operation to provide context when consuming the notification. The 44 * provide notification specific methods. However, an API should generally use 54 * Invoked when a notification is received from the SCTP stack. 56 * @param notification 57 * The notification 64 HandlerResult handleNotification(Notification notification, T attachment); argument
|
/openjdk7/jdk/src/share/classes/javax/management/modelmbean/ |
H A D | ModelMBeanNotificationBroadcaster.java | 74 * jmx.modelmbean.generic notification. 76 * @param ntfyObj The notification which is to be passed to 113 * @param notification The notification which is to be passed 120 public void sendAttributeChangeNotification(AttributeChangeNotification notification) argument 159 * @param handback The context to be sent to the listener with the notification when a notification is emitted.
|
/openjdk7/jdk/src/share/classes/javax/management/remote/ |
H A D | TargetedNotification.java | 34 * <p>This class is used to associate an emitted notification 48 // * notification is targeted. The client listener ID is one 51 // * @param notification Notification emitted from the MBean server. 53 // * notification is targeted. 55 // public TargetedNotification(Notification notification, 57 // this.notif = notification; 65 * notification is targeted. The client listener ID is one 68 * @param notification Notification emitted from the MBean server. 70 * notification is targeted. 72 * or <var>notification</va 74 TargetedNotification(Notification notification, Integer listenerID) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/ |
H A D | NotificationAccessController.java | 35 * methods when the notification listener parameter is of type 41 * {@code com.sun.jmx.remote.notification.access.controller} 91 * forwards the notification to the interested remote 95 * receiving the notification. 96 * @param name the name of the MBean forwarding the notification. 97 * @param notification the notification to be forwarded to the interested 103 * rights to receive the notification. 107 Notification notification, 105 fetchNotification(String connectionId, ObjectName name, Notification notification, Subject subject) argument
|
/openjdk7/jdk/src/share/classes/sun/management/ |
H A D | NotificationEmitterSupport.java | 41 * Abstract helper class for notification emitter support. 72 every time a notification is sent. */ 138 void sendNotification(Notification notification) { argument 140 if (notification == null) { 154 || li.filter.isNotificationEnabled(notification)) { 156 li.listener.handleNotification(notification, li.handback); 190 * synchronize when traversing the list to send a notification to
|
/openjdk7/jdk/test/javax/management/monitor/ |
H A D | NonComparableAttributeValueTest.java | 28 * jmx.monitor.error.type notification when the attribute 61 public void handleNotification(Notification notification, argument 63 MonitorNotification n = (MonitorNotification) notification; 74 echo("\t\tSkipping notification of type: " + type); 141 // Check if notification was received 144 echo("\tOK: CounterMonitor notification received"); 146 echo("\tKO: CounterMonitor notification missed or not emitted"); 219 // Check if notification was received 222 echo("\tOK: GaugeMonitor notification received"); 224 echo("\tKO: GaugeMonitor notification misse [all...] |
H A D | NullAttributeValueTest.java | 28 * jmx.monitor.error.type notification when the attribute 61 public void handleNotification(Notification notification, argument 63 MonitorNotification n = (MonitorNotification) notification; 74 echo("\t\tSkipping notification of type: " + type); 141 // Check if notification was received 144 echo("\tOK: CounterMonitor notification received"); 146 echo("\tKO: CounterMonitor notification missed or not emitted"); 219 // Check if notification was received 222 echo("\tOK: GaugeMonitor notification received"); 224 echo("\tKO: GaugeMonitor notification misse [all...] |
H A D | CounterMonitorTest.java | 28 * emits a notification every time the threshold is exceeded. 61 // time to wait for notification (in seconds) 85 public void handleNotification(Notification notification, argument 87 MonitorNotification n = (MonitorNotification) notification; 100 echo("\t\tSkipping notification of type: " + type); 190 // Check if notification was received 195 echo("\tError: notification missed or not emitted");
|
H A D | ReflectionExceptionTest.java | 27 * @summary Test that the jmx.monitor.error.runtime monitor notification 78 public void handleNotification(Notification notification, Object handback) { argument 79 echo(">>> Received notification: " + notification); 80 if (notification instanceof MonitorNotification) { 81 String type = notification.getType(); 83 MonitorNotification mn = (MonitorNotification) notification; 142 // Check if notification was received 145 echo("\tOK: CounterMonitor got RUNTIME_ERROR notification!"); 148 "RUNTIME_ERROR notification!"); [all...] |
H A D | RuntimeExceptionTest.java | 27 * @summary Test that the jmx.monitor.error.runtime monitor notification 77 public void handleNotification(Notification notification, Object handback) { argument 78 echo(">>> Received notification: " + notification); 79 if (notification instanceof MonitorNotification) { 80 String type = notification.getType(); 82 MonitorNotification mn = (MonitorNotification) notification; 141 // Check if notification was received 144 echo("\tOK: CounterMonitor got RUNTIME_ERROR notification!"); 147 "RUNTIME_ERROR notification!"); [all...] |
/openjdk7/jdk/test/javax/management/proxy/ |
H A D | NotificationEmitterProxy.java | 71 public void handleNotification(Notification notification, argument 74 ":\n\t" + notification); 80 System.out.println("<<< Register for notification from a proxy"); 152 throw new RuntimeException("Bad notification count: " + reg + 162 throw new RuntimeException("Bad MXBean notification count: " + 170 throw new RuntimeException("Bad notification count: " + unreg +
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | DeadListenerTest.java | 161 assertTrue("count1 notification listener has not been cleaned up", count1Ref.get() == null); 162 assertTrue("count2 notification listener has not been cleaned up", count2Ref.get() == null); 196 public void handleNotification(Notification notification, Object handback) { argument
|
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | SctpResultContainer.java | 28 * Wraps the actual message or notification so that it can be 60 SctpNotification notification() { method in class:SctpResultContainer
|
/openjdk7/jdk/src/share/classes/javax/management/monitor/ |
H A D | StringMonitor.java | 42 * match notification} is sent. 49 * differ notification} is sent. 288 * Gets the matching notification's on/off switch value common to 301 * Sets the matching notification's on/off switch value common to 304 * @param value The matching notification's on/off switch value. 315 * Gets the differing notification's on/off switch value common to 328 * Sets the differing notification's on/off switch value common to 331 * @param value The differing notification's on/off switch value. 343 * the Java class of the notification and the notification type 387 onErrorNotification(MonitorNotification notification) argument [all...] |
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | Receive.java | 190 /* TEST 6: handler returns RETURN after handling a notification */ 298 Notification notification, Object attachment) { 299 fail("Unknown notification type"); 305 AssociationChangeNotification notification, Object attachment) { 306 AssocChangeEvent event = notification.event(); 308 debug(" Association: " + notification.association()); 334 ShutdownNotification notification, Object attachment) { 336 debug(" Association: " + notification.association()); 297 handleNotification( Notification notification, Object attachment) argument 304 handleNotification( AssociationChangeNotification notification, Object attachment) argument 333 handleNotification( ShutdownNotification notification, Object attachment) argument
|
H A D | Send.java | 419 Notification notification, Void attachment) { 420 fail("Unknown notification type"); 426 AssociationChangeNotification notification, Void attachment) { 427 AssocChangeEvent event = notification.event(); 428 Association association = notification.association(); 430 debug(" Association: " + notification.association()); 418 handleNotification( Notification notification, Void attachment) argument 425 handleNotification( AssociationChangeNotification notification, Void attachment) argument
|
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/ |
H A D | Branch.java | 239 AssociationChangeNotification notification, Object attachment) { 240 AssocChangeEvent event = notification.event(); 242 debug(" Association: " + notification.association()); 252 * shutdown notification are being handled since we don't expect 257 ShutdownNotification notification, Object attachment) { 259 debug(" Association: " + notification.association()); 238 handleNotification( AssociationChangeNotification notification, Object attachment) argument 256 handleNotification( ShutdownNotification notification, Object attachment) argument
|
H A D | SocketOptionTests.java | 241 AssociationChangeNotification notification, Object attachment) { 242 AssocChangeEvent event = notification.event(); 244 debug(" Association: " + notification.association()); 240 handleNotification( AssociationChangeNotification notification, Object attachment) argument
|