Searched refs:notif (Results 1 - 25 of 37) sorted by relevance

12

/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
H A DJMXConnectorServer.java315 Notification notif =
322 sendNotification(notif);
/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/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 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/test/java/lang/management/MemoryMXBean/
H A DGetMBeanInfo.java59 private static void printNotifType(MBeanNotificationInfo notif) { argument
60 String[] types = notif.getNotifTypes();
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());
H A DMemoryManagement.java54 public void handleNotification(Notification notif, Object handback) { argument
55 String type = notif.getType();
61 from((CompositeData) notif.getUserData());
H A DLowMemoryTest2.java46 public void handleNotification(Notification notif, Object handback) { argument
47 String type = notif.getType();
53 from((CompositeData) notif.getUserData());
/openjdk7/jdk/test/javax/management/remote/mandatory/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);
H A DNotifBufferSizePropertyNameTest.java143 Notification notif;
145 notif = new Notification("MyType", this, i);
146 weakNotifs.put(notif, null);
147 sendNotification(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);
/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/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/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/src/share/classes/javax/management/timer/
H A DTimer.java253 TimerNotification notif = (TimerNotification)
255 notifTypes.add(notif.getType());
463 TimerNotification notif = new TimerNotification(type, this, 0, 0, message, notifID);
464 notif.setUserData(userData);
483 obj[TIMER_NOTIF_INDEX] = (Object)notif;
494 .append(notif.getSource())
496 .append(notif.getType())
1003 TimerNotification notif;
1014 notif = (TimerNotification)obj[TIMER_NOTIF_INDEX];
1015 notifID = notif
[all...]
/openjdk7/jdk/src/share/classes/sun/management/
H A DMemoryImpl.java156 Notification notif = new Notification(notifType,
167 notif.setUserData(cd);
168 mbean.sendNotification(notif);
H A DGarbageCollectorImpl.java136 Notification notif = new Notification(GarbageCollectionNotificationInfo.GARBAGE_COLLECTION_NOTIFICATION,
149 notif.setUserData(cd);
150 sendNotification(notif);
/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;
/openjdk7/jdk/test/javax/management/relation/
H A DNonArrayListTest.java86 RelationNotification notif =
105 RelationNotification notif =
/openjdk7/jdk/test/javax/management/modelmbean/SimpleModelMBean/
H A DSimpleModelMBeanCommand.java225 Notification notif = new Notification("type", "source", 123L);
226 mbs.invoke(on, "sendNotification", new Object[] {notif},
234 public void handleNotification(Notification notif,
236 System.out.println("Got notif: " + notif +
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/org/glassfish/external/amx/
H A DMBeanListener.java295 final MBeanServerNotification notif = (MBeanServerNotification) notifIn;
296 final ObjectName objectName = notif.getMBeanName();
317 final String notifType = notif.getType();

Completed in 67 milliseconds

12