2362N/A * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Request for notification when the target VM terminates. 0N/A * When an enabled VMDeathRequest is satisfied, an 0N/A * {@link com.sun.jdi.event.EventSet event set} containing a 0N/A * {@link com.sun.jdi.event.VMDeathEvent VMDeathEvent} 0N/A * will be placed on the 0N/A * {@link com.sun.jdi.event.EventQueue EventQueue}. 0N/A * The collection of existing VMDeathRequests is 0N/A * managed by the {@link EventRequestManager} 0N/A * Even without creating a VMDeathRequest, a single 0N/A * unsolicited VMDeathEvent will be sent with a 0N/A * {@link EventRequest#suspendPolicy() suspend policy} 0N/A * of {@link EventRequest#SUSPEND_NONE SUSPEND_NONE}. 0N/A * This request would typically be created so that a 0N/A * VMDeathEvent with a suspend policy of 0N/A * {@link EventRequest#SUSPEND_ALL SUSPEND_ALL} 0N/A * will be sent. This event can be used to assure 0N/A * completion of any processing which requires the VM 0N/A * to be alive (e.g. event processing). Note: the 0N/A * unsolicited VMDeathEvent will still be sent. 0N/A * @see com.sun.jdi.event.VMDeathEvent 0N/A * @see com.sun.jdi.event.EventQueue 0N/A * @see EventRequestManager 0N/A * @author Robert Field