1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.jdi.request; |
26 package com.sun.jdi.request; |
27 |
27 |
28 import com.sun.jdi.*; |
28 import com.sun.jdi.event.ClassUnloadEvent; |
|
29 import com.sun.jdi.event.EventQueue; |
|
30 import com.sun.jdi.event.EventSet; |
29 |
31 |
30 /** |
32 /** |
31 * Request for notification when a class is unloaded in the target VM. |
33 * Request for notification when a class is unloaded in the target VM. |
32 * When an enabled ClassUnloadRequest is satisfied, a |
34 * When an enabled ClassUnloadRequest is satisfied, a |
33 * {@link com.sun.jdi.event.EventSet event set} containing an |
35 * {@link EventSet event set} containing an |
34 * {@link com.sun.jdi.event.ClassUnloadEvent ClassUnloadEvent} will |
36 * {@link ClassUnloadEvent ClassUnloadEvent} will |
35 * be placed on the {@link com.sun.jdi.event.EventQueue EventQueue}. |
37 * be placed on the {@link EventQueue EventQueue}. |
36 * The collection of existing ClassUnloadRequests is |
38 * The collection of existing ClassUnloadRequests is |
37 * managed by the {@link EventRequestManager} |
39 * managed by the {@link EventRequestManager} |
38 * <p> |
40 * <p> |
39 * Refer to the Java Virtual Machine Specification for more information |
41 * Refer to the Java Virtual Machine Specification for more information |
40 * on class unloading. |
42 * on class unloading. |
41 * |
43 * |
42 * @see com.sun.jdi.event.ClassUnloadEvent |
44 * @see ClassUnloadEvent |
43 * @see com.sun.jdi.event.EventQueue |
45 * @see EventQueue |
44 * @see EventRequestManager |
46 * @see EventRequestManager |
45 * |
47 * |
46 * @author Robert Field |
48 * @author Robert Field |
47 * @since 1.3 |
49 * @since 1.3 |
48 */ |
50 */ |