This package is used to request that a JDI event be sent under specified conditions. With the exception of termination events, which are always sent, there is one kind of
EventRequestfor each kind of
Event- for example,
BreakpointRequestis used to request a
BreakpointEvent. Event requests are created by the
EventRequestManager. Events and event processing are defined in the
Methods may be added to the interfaces in the JDI packages in future releases. Existing packages may be renamed if the JDI becomes a standard extension.
Interface Summary Interface Description AccessWatchpointRequestRequest for notification when the contents of a field are accessed in the target VM. BreakpointRequestIdentifies a
Locationin the target VM at which execution should be stopped.
ClassPrepareRequestRequest for notification when a class is prepared in the target VM. ClassUnloadRequestRequest for notification when a class is unloaded in the target VM. EventRequestRepresents a request for notification of an event. EventRequestManagerManages the creation and deletion of
ExceptionRequestRequest for notification when an exception occurs in the target VM. MethodEntryRequestRequest for notification when a method is invoked in the target VM. MethodExitRequestRequest for notification when a method returns in the target VM. ModificationWatchpointRequestRequest for notification when a field is set. MonitorContendedEnteredRequestRequest for notification of a thread in the target VM entering a monitor after waiting for it to be released by another thread. MonitorContendedEnterRequestRequest for notification of a thread in the target VM attempting to enter a monitor already acquired by another thread. MonitorWaitedRequestRequest for notification when a thread in the target VM has finished waiting on a monitor object. MonitorWaitRequestRequest for notification when a thread in the target VM is about to wait on a monitor object. StepRequestRequest for notification when a step occurs in the target VM. ThreadDeathRequestRequest for notification when a thread terminates in the target VM. ThreadStartRequestRequest for notification when a thread starts execution in the target VM. VMDeathRequestRequest for notification when the target VM terminates. WatchpointRequestIdentifies a
Fieldin the target VM being watched.