Searched defs:notif (Results 1 - 22 of 22) sorted by relevance

/openjdk7/jdk/test/java/lang/management/MemoryMXBean/
H A DGetMBeanInfo.java59 private static void printNotifType(MBeanNotificationInfo notif) { argument
60 String[] types = notif.getNotifTypes();
H A DLowMemoryTest2.java46 public void handleNotification(Notification notif, Object handback) { argument
47 String type = notif.getType();
53 from((CompositeData) notif.getUserData());
H A DMemoryManagement.java54 public void handleNotification(Notification notif, Object handback) { argument
55 String type = notif.getType();
61 from((CompositeData) notif.getUserData());
H A DLowMemoryTest.java55 public void handleNotification(Notification notif, Object handback) { argument
56 String type = notif.getType();
62 from((CompositeData) notif.getUserData());
74 public void handleNotification(Notification notif, Object handback) { argument
76 from((CompositeData) notif.getUserData());
H A DCollectionUsageThreshold.java87 public void handleNotification(Notification notif, Object handback) { argument
88 String type = notif.getType();
93 from((CompositeData) notif.getUserData());
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/
H A DNotificationBufferFilter.java39 ObjectName source, Notification notif);
38 apply(List<TargetedNotification> targetedNotifs, ObjectName source, Notification notif) argument
H A DServerNotifForwarder.java234 ObjectName source, Notification notif) {
251 if (nf == null || nf.isNotificationEnabled(notif)) {
254 new TargetedNotification(notif, idaf.getId());
233 apply(List<TargetedNotification> targetedNotifs, ObjectName source, Notification notif) argument
H A DArrayNotificationBuffer.java461 Notification notif = candidate.getNotification();
466 filter.apply(matchedNotifs, name, notif);
511 synchronized void addNotification(NamedNotification notif) { argument
513 logger.trace("addNotification", notif.toString());
519 "dropped oldest notif, earliestSeq=" +
523 queue.add(notif);
547 NamedNotification(ObjectName sender, Notification notif) { argument
549 this.notification = notif;
765 public void handleNotification(Notification notif, Object handback) { argument
768 "notif
[all...]
/openjdk7/jdk/src/share/classes/javax/management/remote/
H A DTargetedNotification.java57 // this.notif = notification;
82 this.notif = notification;
92 return notif;
111 return "{" + notif + ", " + id + "}";
118 private final Notification notif; field in class:TargetedNotification
/openjdk7/jdk/test/com/sun/management/GarbageCollectorMXBean/
H A DGarbageCollectionNotificationContentTest.java51 public void handleNotification(Notification notif, Object handback) { argument
52 String type = notif.getType();
55 GarbageCollectionNotificationInfo.from((CompositeData) notif.getUserData());
56 String source = ((ObjectName)notif.getSource()).getCanonicalName();
59 listenerInvoked.put(((ObjectName)notif.getSource()).getCanonicalName(),gcNotif);
122 for (GarbageCollectionNotificationInfo notif : listenerInvoked.values() ) {
123 checkGarbageCollectionNotificationInfoContent(notif);
128 private static void checkGarbageCollectionNotificationInfoContent(GarbageCollectionNotificationInfo notif) throws Exception { argument
129 System.out.println("GC notification for "+notif.getGcName());
130 System.out.print("Action: "+notif
[all...]
H A DGarbageCollectionNotificationTest.java50 public void handleNotification(Notification notif, Object handback) { argument
51 String type = notif.getType();
54 GarbageCollectionNotificationInfo.from((CompositeData) notif.getUserData());
55 String source = ((ObjectName)notif.getSource()).getCanonicalName();
58 listenerInvoked.put(((ObjectName)notif.getSource()).getCanonicalName(),true);
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/
H A DRMINotifTest.java87 // create a notif emitter mbean
170 public void handleNotification(Notification notif, Object handback) { argument
217 Notification notif;
219 notif = new Notification(myType, this, i);
220 sendNotification(notif);
H A DNotSerializableNotifTest.java123 // ask to send one not serializable notif
173 public void handleNotification(Notification notif, Object handback) { argument
209 Notification notif;
211 notif = new Notification(myType, this, i);
213 notif.setUserData(new Object());
214 sendNotification(notif);
224 Notification notif;
226 notif = new Notification(myType, this, i);
228 sendNotification(notif);
H A DUnexpectedNotifTest.java167 public void handleNotification(Notification notif, Object handback) { argument
168 System.out.println("Received: " + notif + " (" +
169 notif.getSequenceNumber() + ")");
216 Notification notif;
218 notif = new Notification(myType, this, ++seqno);
219 sendNotification(notif);
/openjdk7/jdk/src/share/classes/javax/management/
H A DNotificationBroadcasterSupport.java262 * listener.handleNotification(notif, handback);
267 * @param notif the notification being delivered to the listener.
273 Notification notif, Object handback) {
274 listener.handleNotification(notif, handback);
332 public SendNotifJob(Notification notif, ListenerInfo listenerInfo) { argument
333 this.notif = notif;
340 notif, listenerInfo.handback);
348 private final Notification notif; field in class:NotificationBroadcasterSupport.SendNotifJob
272 handleNotification(NotificationListener listener, Notification notif, Object handback) argument
/openjdk7/jdk/src/share/classes/javax/management/relation/
H A DMBeanServerNotificationFilter.java337 * @param notif The notification to be sent.
344 public synchronized boolean isNotificationEnabled(Notification notif) argument
347 if (notif == null) {
353 "isNotificationEnabled", notif);
356 String ntfType = notif.getType();
367 MBeanServerNotification mbsNtf = (MBeanServerNotification)notif;
H A DRelationService.java2413 * @param notif The notification.
2417 public void handleNotification(Notification notif, argument
2420 if (notif == null) {
2426 "handleNotification", notif);
2428 if (notif instanceof MBeanServerNotification) {
2430 MBeanServerNotification mbsNtf = (MBeanServerNotification) notif;
2431 String ntfType = notif.getType();
2436 ((MBeanServerNotification)notif).getMBeanName();
/openjdk7/jdk/test/javax/management/notification/
H A DNotifExecutorTest.java117 throw new RuntimeException("The notif executor should be called " +
134 public void handleNotification(Notification notif, Object handback) { argument
161 Notification notif;
163 notif = new Notification(null, this, ++seqno);
164 super.sendNotification(notif);
/openjdk7/jdk/test/javax/management/remote/mandatory/connection/
H A DConnectionTest.java140 // we don't get the notif immediately either
142 Notification notif = waitForNotification(1000);
143 System.out.println("Server got notification: " + notif);
145 ok = mustBeConnectionNotification(notif, clientConnId,
153 notif = waitForNotification(1000);
154 System.out.println("Got notification: " + notif);
156 ok = mustBeConnectionNotification(notif, clientConnId,
172 notif = waitForNotification(1);
173 ok = mustBeConnectionNotification(notif, clientConnId2,
185 notif
215 mustBeConnectionNotification(Notification notif, String requiredConnId, String requiredType) argument
[all...]
/openjdk7/jdk/test/java/lang/management/ManagementFactory/
H A DProxyTypeMapping.java265 public void handleNotification(Notification notif, Object handback) { argument
H A DValidateOpenTypes.java300 public void handleNotification(Notification notif, Object handback) { argument
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DXMBeanNotifications.java270 Notification notif, Object handback) {
272 if (notif instanceof MBeanServerNotification) {
274 ((MBeanServerNotification) notif).getMBeanName();
275 if (notif.getType().indexOf("JMX.mbean.unregistered") >= 0) {
322 Notification notif =
324 notif.setUserData(received);
326 nl.handleNotification(notif, node);
269 handleNotification( Notification notif, Object handback) argument

Completed in 83 milliseconds