|
Java Debug Interface | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClassPrepareRequest
Request for notification when a class is prepared in the target VM.
When an enabled ClassPrepareRequest is satisfied, an
event set containing a
ClassPrepareEvent
will be placed on the
EventQueue.
The collection of existing ClassPrepareRequests is
managed by the EventRequestManager
Class preparation is defined in the Java Virtual Machine Specification.
ClassPrepareEvent,
EventQueue,
EventRequestManager| Field Summary |
|---|
| Fields inherited from interface com.sun.jdi.request.EventRequest |
|---|
SUSPEND_ALL, SUSPEND_EVENT_THREAD, SUSPEND_NONE |
| Method Summary | |
|---|---|
void |
addClassExclusionFilter(String classPattern)
Restricts the events generated by this request to the preparation of reference types whose name does not match this restricted regular expression. |
void |
addClassFilter(ReferenceType refType)
Restricts the events generated by this request to be the preparation of the given reference type and any subtypes. |
void |
addClassFilter(String classPattern)
Restricts the events generated by this request to the preparation of reference types whose name matches this restricted regular expression. |
| Methods inherited from interface com.sun.jdi.request.EventRequest |
|---|
addCountFilter, disable, enable, getProperty, isEnabled, putProperty, setEnabled, setSuspendPolicy, suspendPolicy |
| Methods inherited from interface com.sun.jdi.Mirror |
|---|
toString, virtualMachine |
| Method Detail |
|---|
void addClassFilter(ReferenceType refType)
refType - the reference type to filter on.
InvalidRequestStateException - if this request is currently
enabled or has been deleted.
Filters may be added only to disabled requests.void addClassFilter(String classPattern)
classPattern - the pattern String to filter for.
InvalidRequestStateException - if this request is currently
enabled or has been deleted.
Filters may be added only to disabled requests.void addClassExclusionFilter(String classPattern)
classPattern - the pattern String to filter against.
InvalidRequestStateException - if this request is currently
enabled or has been deleted.
Filters may be added only to disabled requests.
|
Java Debug Interface | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||