/openjdk10/jdk/src/java.management/share/classes/javax/management/ |
H A D | MBeanServer.java | 56 * object as listener to MBeanServerNotifications you should call the 473 NotificationListener listener, 483 ObjectName listener, 490 ObjectName listener) 495 ObjectName listener, 502 NotificationListener listener) 507 NotificationListener listener, 472 addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) argument 482 addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) argument 489 removeNotificationListener(ObjectName name, ObjectName listener) argument 494 removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) argument 501 removeNotificationListener(ObjectName name, NotificationListener listener) argument 506 removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) argument
|
/openjdk10/jdk/test/java/beans/Introspector/ |
H A D | Test4498236.java | 135 public void addKeyListener(KeyListener listener) { argument 136 add(listener); 139 public void removeKeyListener(KeyListener listener) { argument 140 remove(listener); 147 public void add(KeyListener listener) { argument 150 public void remove(KeyListener listener) { argument
|
/openjdk10/jdk/test/java/net/httpclient/websocket/jdk.incubator.httpclient/jdk/incubator/http/internal/websocket/ |
H A D | PingTest.java | 124 MockListener listener = new MockListener.Builder() 128 webSocket.complete(newWebSocket(channel, listener)); 129 checkExpectations(500, TimeUnit.MILLISECONDS, channel, listener); 135 * 1. onPing is invoked with the data and the WebSocket the listener has 146 MockListener listener = new MockListener.Builder() 150 webSocket.complete(newWebSocket(channel, listener)); 151 checkExpectations(500, TimeUnit.MILLISECONDS, channel, listener); 159 * WebSocket the listener has been attached to 169 * listener has been attached to
|
/openjdk10/jdk/test/javax/management/security/ |
H A D | MBS_Light.java | 49 private SimpleListener listener = new SimpleListener(); field in class:MBS_Light 168 listener.handleNotification(notification, handback); 179 return listener.waitForNotificationHB(); 184 return listener.waitForMultiNotifications(Integer.valueOf(nb).intValue()); 189 return listener.waitForNotification(); 194 return Boolean.valueOf(listener.isNotificationReceived());
|
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/ |
H A D | BasicBitType.java | 69 Type resolveTypes(BasicCDebugInfoDataBase db, ResolveListener listener) { argument 70 super.resolveTypes(db, listener); 71 underlyingType = db.resolveType(this, underlyingType, listener, "resolving bit type");
|
H A D | BasicSym.java | 52 public abstract void resolve(BasicCDebugInfoDataBase db, ResolveListener listener); argument
|
H A D | LazyBlockSym.java | 49 public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener) {} argument
|
H A D | LazyType.java | 51 Type resolveTypes(BasicCDebugInfoDataBase db, ResolveListener listener) { argument 52 BasicType t = (BasicType) db.resolveType(this, this, listener, "resolving lazy type");
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/dnd/ |
H A D | DragSource.java | 437 * If {@code dsl} is {@code null}, no drag source listener 551 * If a {@code null} listener is specified, no action is taken and no 563 listener = DnDEventMulticaster.add(listener, dsl); 571 * If a {@code null} listener is specified, no action is taken and no 573 * If the listener specified by the argument was not previously added to 586 listener = DnDEventMulticaster.remove(listener, dsl); 611 * If a {@code null} listener is specified, no action is taken and no 631 * If a {@code null} listener i 920 private transient DragSourceListener listener; field in class:DragSource [all...] |
/openjdk10/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/ |
H A D | RawCommandLineLauncher.java | 121 TransportService.ListenKey listener = transportService.startListening(address); 125 address, listener, transportService); 127 transportService.stopListening(listener);
|
/openjdk10/jdk/test/java/awt/event/TextEvent/TextEventSequenceTest/ |
H A D | TextEventSequenceTest.java | 104 TextListener listener = new MyTextListener(); 107 tf.addTextListener(listener); 111 t.addTextListener(listener);
|
/openjdk10/jdk/test/javax/swing/JMenuItem/ShortcutNotDiplayed/ |
H A D | ShortcutNotDisplayedTest.java | 86 ActionListener listener = new ActionListener() { 100 passBtn.addActionListener(listener); 101 failBtn.addActionListener(listener);
|
/openjdk10/langtools/test/tools/javac/api/evalexpr/ |
H A D | CompileFromString.java | 65 DiagnosticListener<JavaFileObject> listener, 72 new MemoryFileManager(compiler.getStandardFileManager(listener, null, null)); 82 compiler.getTask(null, mfm, listener, flags, null, Arrays.asList(fileObject)); 64 evalExpression(JavaCompiler compiler, DiagnosticListener<JavaFileObject> listener, List<String> flags, String expression) argument
|
/openjdk10/jdk/test/javax/management/remote/mandatory/connection/ |
H A D | ConnectionListenerNullTest.java | 27 * @summary Tests that NullPointerException is thrown when listener is null. 71 final NotificationListener listener = new 77 c.addConnectionNotificationListener(listener,nf,h); 94 c.removeConnectionNotificationListener(listener);
|
/openjdk10/jdk/test/java/beans/PropertyChangeSupport/ |
H A D | Test4353056.java | 68 public void addPropertyChangeListener(PropertyChangeListener listener) { argument 69 this.pcs.addPropertyChangeListener(listener); 72 public void removePropertyChangeListener(PropertyChangeListener listener) { argument 73 this.pcs.removePropertyChangeListener(listener);
|
/openjdk10/jdk/test/java/nio/channels/AsynchronousChannelGroup/ |
H A D | Restart.java | 104 try (AsynchronousServerSocketChannel listener = 107 listener.bind(new InetSocketAddress(0)); 111 listener.accept((Void)null, new CompletionHandler<AsynchronousSocketChannel,Void>() { 132 int port = ((InetSocketAddress)(listener.getLocalAddress())).getPort();
|
/openjdk10/jdk/test/sun/security/ssl/SSLSocketImpl/ |
H A D | NotifyHandshakeTest.java | 115 NotifyHandshakeTest listener = new NotifyHandshakeTest(); 116 socket.addHandshakeCompletedListener(listener); 151 if (!listener.set) { 159 if (!heyYouSess.equals(listener.sess)) {
|
/openjdk10/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | NotifReconnectDeadlockTest.java | 58 * fetchNotifications thread by having it invoke a listener with a delay in it. 59 * This means that the idle timeout happens. When the delayed listener returns, 63 * listener seeing an OPENED notification. The connection listener should not see 92 listener, 96 client.addConnectionNotificationListener(listener, null, null); 123 client.removeConnectionNotificationListener(listener); 143 private final static NotificationListener listener = new NotificationListener() { field in class:NotifReconnectDeadlockTest
|
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/ |
H A D | XMBeanNotifications.java | 214 XMBeanNotificationsListener listener = 216 if (listener == null) { 219 return listener.getReceivedNotifications(); 248 System.err.println("Error adding listener for delegate:"); 253 XMBeanNotificationsListener listener = 255 if (listener == null) { 256 listener = new XMBeanNotificationsListener( 258 listeners.put(mbean.getObjectName(), listener); 260 if (!listener.isRegistered()) { 262 listener 312 fireNotificationReceived( XMBeanNotificationsListener listener, XMBean mbean, DefaultMutableTreeNode node, Object[] rowData, long received) argument [all...] |
/openjdk10/hotspot/src/os/aix/vm/ |
H A D | attachListener_aix.cpp | 43 // The attach mechanism on AIX uses a UNIX domain socket. An attach listener 45 // the client tool. The attach listener creates a socket and binds it to a file 46 // in the filesystem. The attach listener then acts as a simple (single- 96 // initialize the listener, returns 0 if okay 101 static int listener() { return _listener; } function in class:AixAttachListener 166 // the listener never enters accept state. 168 // atexit hook to stop listener and unlink the file that it is 171 // Some modifications to the listener logic to prevent deadlocks on exit. 175 // 2. close(s) may never return if the listener thread is in socket accept(). Unlinking the file 183 int s = AixAttachListener::listener(); 199 int listener; // listener socket (file descriptor) local [all...] |
/openjdk10/hotspot/src/os/bsd/vm/ |
H A D | attachListener_bsd.cpp | 42 // The attach mechanism on Bsd uses a UNIX domain socket. An attach listener 44 // the client tool. The attach listener creates a socket and binds it to a file 45 // in the filesystem. The attach listener then acts as a simple (single- 93 // initialize the listener, returns 0 if okay 98 static int listener() { return _listener; } function in class:BsdAttachListener 152 // atexit hook to stop listener and unlink the file that it is 159 int s = BsdAttachListener::listener(); 170 // Initialization - create a listener socket and bind it to a file 175 int listener; // listener socke local [all...] |
/openjdk10/hotspot/src/os/linux/vm/ |
H A D | attachListener_linux.cpp | 42 // The attach mechanism on Linux uses a UNIX domain socket. An attach listener 44 // the client tool. The attach listener creates a socket and binds it to a file 45 // in the filesystem. The attach listener then acts as a simple (single- 93 // initialize the listener, returns 0 if okay 98 static int listener() { return _listener; } function in class:LinuxAttachListener 152 // atexit hook to stop listener and unlink the file that it is 159 int s = LinuxAttachListener::listener(); 170 // Initialization - create a listener socket and bind it to a file 175 int listener; // listener socke local [all...] |
/openjdk10/hotspot/src/share/vm/gc/g1/ |
H A D | g1RegionToSpaceMapper.hpp | 36 // Fired after commit of the memory, i.e. the memory this listener is registered 65 void set_mapping_changed_listener(G1MappingChangedListener* listener) { _listener = listener; } argument
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/peer/ |
H A D | DesktopPeer.java | 122 * @param listener listener 130 default void addAppEventListener(final SystemEventListener listener) { argument 137 * @param listener listener 145 default void removeAppEventListener(final SystemEventListener listener) { argument
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/sound/sampled/ |
H A D | Line.java | 181 * Adds a listener to this line. Whenever the line's status changes, the 182 * listener's {@code update()} method is called with a {@code LineEvent} 185 * @param listener the object to add as a listener to this line 190 void addLineListener(LineListener listener); argument 193 * Removes the specified listener from this line's list of listeners. 195 * @param listener listener to remove 198 void removeLineListener(LineListener listener); argument
|