Searched refs:listenerMap (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/
H A DServerNotifForwarder.java130 synchronized (listenerMap) {
132 Set<IdAndFilter> set = listenerMap.get(nn);
142 listenerMap.put(nn, set);
204 synchronized (listenerMap) {
207 Set<IdAndFilter> set = listenerMap.get(name);
212 listenerMap.remove(name);
226 * which is why listenerMap is a Map<ObjectName, Set<IdAndFilter>> and
235 // We proceed in two stages here, to avoid holding the listenerMap
238 synchronized (listenerMap) {
239 final Set<IdAndFilter> set = listenerMap
487 private final Map<ObjectName, Set<IdAndFilter>> listenerMap = field in class:ServerNotifForwarder
[all...]
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/
H A DDeadListenerTest.java84 Field listenerMapF = ServerNotifForwarder.class.getDeclaredField("listenerMap");
87 Map<ObjectName, Set<?>> listenerMap = (Map<ObjectName, Set<?>>) listenerMapF.get(serverNotifForwarder);
88 assertTrue("Server listenerMap initially empty", mapWithoutKey(listenerMap, delegateName).isEmpty());
104 assertTrue("One entry in listenerMap for two listeners on same MBean", mapWithoutKey(listenerMap, delegateName).size() == 1);
105 Set<?> set = listenerMap.get(name);
106 assertTrue("Set in listenerMap for MBean has two elements", set != null && set.size() == 2);
164 // Check that there is no trace of the listeners any more in ServerNotifForwarder.listenerMap.
167 Set<?> setForUnreg = listenerMap
[all...]
/openjdk7/jdk/test/javax/management/MBeanServer/
H A DOldMBeanServerTest.java412 private final ConcurrentMap<ObjectName, ListenerTable> listenerMap = field in class:OldMBeanServerTest.OldMBeanServer
980 ListenerTable oldTable = listenerMap.putIfAbsent(name, table);

Completed in 316 milliseconds