public interface Event extends Mirror
BreakpointEvent
、ExceptionEvent
、ClassPrepareEvent
など) に共通のスーパーインタフェースです。イベントが発生すると、EventSet
のコンポーネントとしての Event のインスタンスが VirtualMachine
の EventQueue
にエンキューされます。EventSet
, EventQueue
修飾子と型 | メソッドと説明 |
---|---|
EventRequest |
request() |
toString, virtualMachine
EventRequest request()
EventRequest
。一部のイベント (VMDeathEvent
など) は対応する要求がないことがあり、その場合は null を返します。
Copyright © 1999, 2013, Oracle and/or its affiliates. All rights reserved.