Java Doc for EventRequestImpl.java in  » IDE-Eclipse » jdt » org » eclipse » jdi » internal » request » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdi.internal.request 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdi.internal.MirrorImpl
      org.eclipse.jdi.internal.request.EventRequestImpl

All known Subclasses:   org.eclipse.jdi.internal.request.ThreadStartRequestImpl,  org.eclipse.jdi.internal.request.BreakpointRequestImpl,  org.eclipse.jdi.internal.request.MethodEntryRequestImpl,  org.eclipse.jdi.internal.request.MonitorWaitedRequestImpl,  org.eclipse.jdi.internal.request.MonitorWaitRequestImpl,  org.eclipse.jdi.internal.request.ExceptionRequestImpl,  org.eclipse.jdi.internal.request.MonitorContendedEnterRequestImpl,  org.eclipse.jdi.internal.request.StepRequestImpl,  org.eclipse.jdi.internal.request.WatchpointRequestImpl,  org.eclipse.jdi.internal.request.ClassUnloadRequestImpl,  org.eclipse.jdi.internal.request.ClassPrepareRequestImpl,  org.eclipse.jdi.internal.request.MethodExitRequestImpl,  org.eclipse.jdi.internal.request.MonitorContendedEnteredRequestImpl,  org.eclipse.jdi.internal.request.VMDeathRequestImpl,  org.eclipse.jdi.internal.request.ThreadDeathRequestImpl,
EventRequestImpl
abstract public class EventRequestImpl extends MirrorImpl implements EventRequest(Code)
this class implements the corresponding interfaces declared by the JDI specification. See the com.sun.jdi package for more information.

Inner Class :class ExceptionFilter
Inner Class :class ThreadStepFilter

Field Summary
final public static  byteMODIF_KIND_CLASSEXCLUDE
    
final public static  byteMODIF_KIND_CLASSMATCH
    
final public static  byteMODIF_KIND_CLASSONLY
    
final public static  byteMODIF_KIND_CONDITIONAL
    
final public static  byteMODIF_KIND_COUNT
     Constants for ModifierKind.
final public static  byteMODIF_KIND_EXCEPTIONONLY
    
final public static  byteMODIF_KIND_FIELDONLY
    
final public static  byteMODIF_KIND_INSTANCE
    
final public static  byteMODIF_KIND_LOCATIONONLY
    
final public static  byteMODIF_KIND_SOURCE_NAME_FILTER
    
final public static  byteMODIF_KIND_STEP
    
final public static  byteMODIF_KIND_THREADONLY
    
final public static  byteSTEP_DEPTH_INTO_JDWP
    
final public static  byteSTEP_DEPTH_OUT_JDWP
    
final public static  byteSTEP_DEPTH_OVER_JDWP
    
final public static  byteSTEP_DEPTH_REENTER_JDWP_HCR
    
final public static  byteSTEP_SIZE_LINE_JDWP
    
final public static  byteSTEP_SIZE_MIN_JDWP
     Jdwp constants for StepRequests.
final public static  byteSUSPENDPOL_ALL_JDWP
    
final public static  byteSUSPENDPOL_EVENT_THREAD_JDWP
    
final public static  byteSUSPENDPOL_NONE_JDWP
     Jdwp constants for SuspendPolicy.
protected  ArrayListfClassExclusionFilters
     Class Exclusion filters.
protected  ArrayListfClassFilterRefs
     Class filters.
protected  ArrayListfClassFilters
     Class filters.
protected  ArrayListfCountFilters
     Count filters.
protected  ArrayListfExceptionFilters
     Exception filters.
protected  ArrayListfFieldFilters
     Field filters.
protected  ArrayListfInstanceFilters
     Instance filters.
protected  ArrayListfLocationFilters
     Location filters.
protected  RequestIDfRequestID
     RequestId of EventRequest, assigned by the reply data of the JDWP Event Reuqest Set command, null if request had not yet been enabled.
protected  ArrayListfSourceNameFilters
    
protected  ArrayListfThreadFilters
     Thread filters.
protected  ArrayListfThreadStepFilters
     Thread step filters.

Constructor Summary
protected  EventRequestImpl(String description, VirtualMachineImpl vmImpl)
     Creates new EventRequest.

Method Summary
public  voidaddClassExclusionFilter(String filter)
     Restricts the events generated by this request to the preparation of reference types whose name does not match this restricted regular expression.
public  voidaddClassFilter(ReferenceType filter)
     Restricts the events generated by this request to the preparation of reference types whose name matches this restricted regular expression.
public  voidaddClassFilter(String filter)
     Restricts the events generated by this request to be the preparation of the given reference type and any subtypes.
public  voidaddCountFilter(int count)
     Sets countfilter.
public  voidaddExceptionFilter(ReferenceTypeImpl refType, boolean notifyCaught, boolean notifyUncaught)
     Restricts reported exceptions by their class and whether they are caught or uncaught.
public  voidaddFieldFilter(FieldImpl field)
     Restricts reported events to those that occur for a given field.
public  voidaddInstanceFilter(ObjectReference instance)
    
public  voidaddLocationFilter(LocationImpl location)
     Restricts the events generated by this request to those that occur at the given location.
public  voidaddSourceNameFilter(String pattern)
     Adds a source name filter to the request.
public  voidaddStepFilter(ThreadReferenceImpl thread, int size, int depth)
     Restricts reported step events to those which satisfy depth and size constraints.
public  voidaddThreadFilter(ThreadReference threadFilter)
     Restricts reported events to those in the given thread.
public  voidcheckDisabled()
    
public static  voidclearAllBreakpoints(MirrorImpl mirror)
     Clear all breakpoints (used by EventRequestManager).
public synchronized  voiddisable()
     Disables event request.
public synchronized  voidenable()
     Enables event request.
abstract protected  byteeventKind()
    
public static  voidgetConstantMaps()
     Retrieves constant mappings.
public  ObjectgetProperty(Object key)
    
final public synchronized  booleanisEnabled()
    
final public  booleanisGeneratedInside()
    
protected  intmodifierCount()
    
public static  MapmodifierKindMap()
    
public  voidputProperty(Object key, Object value)
     Add an arbitrary key/value "property" to this request.
final public  RequestIDrequestID()
    
public  voidsetEnabled(boolean enable)
     Disables or enables event request.
public  voidsetGeneratedInside()
     Sets the generated inside flag.
public  voidsetSuspendPolicy(int suspendPolicy)
     Sets suspend policy.
public static  MapstepDepthMap()
    
public static  MapstepSizeMap()
    
public  intsuspendPolicy()
    
public  bytesuspendPolicyJDWP()
    
public static  MapsuspendPolicyMap()
    
public  intthreadStepDepthJDWP(int threadStepDepth)
    
public  intthreadStepSizeJDWP(int threadStepSize)
    
public  StringtoString()
    
protected  voidwriteModifiers(DataOutputStream outData)
     Writes JDWP bytestream representation of modifiers.

Field Detail
MODIF_KIND_CLASSEXCLUDE
final public static byte MODIF_KIND_CLASSEXCLUDE(Code)



MODIF_KIND_CLASSMATCH
final public static byte MODIF_KIND_CLASSMATCH(Code)



MODIF_KIND_CLASSONLY
final public static byte MODIF_KIND_CLASSONLY(Code)



MODIF_KIND_CONDITIONAL
final public static byte MODIF_KIND_CONDITIONAL(Code)



MODIF_KIND_COUNT
final public static byte MODIF_KIND_COUNT(Code)
Constants for ModifierKind.



MODIF_KIND_EXCEPTIONONLY
final public static byte MODIF_KIND_EXCEPTIONONLY(Code)



MODIF_KIND_FIELDONLY
final public static byte MODIF_KIND_FIELDONLY(Code)



MODIF_KIND_INSTANCE
final public static byte MODIF_KIND_INSTANCE(Code)



MODIF_KIND_LOCATIONONLY
final public static byte MODIF_KIND_LOCATIONONLY(Code)



MODIF_KIND_SOURCE_NAME_FILTER
final public static byte MODIF_KIND_SOURCE_NAME_FILTER(Code)



MODIF_KIND_STEP
final public static byte MODIF_KIND_STEP(Code)



MODIF_KIND_THREADONLY
final public static byte MODIF_KIND_THREADONLY(Code)



STEP_DEPTH_INTO_JDWP
final public static byte STEP_DEPTH_INTO_JDWP(Code)



STEP_DEPTH_OUT_JDWP
final public static byte STEP_DEPTH_OUT_JDWP(Code)



STEP_DEPTH_OVER_JDWP
final public static byte STEP_DEPTH_OVER_JDWP(Code)



STEP_DEPTH_REENTER_JDWP_HCR
final public static byte STEP_DEPTH_REENTER_JDWP_HCR(Code)



STEP_SIZE_LINE_JDWP
final public static byte STEP_SIZE_LINE_JDWP(Code)



STEP_SIZE_MIN_JDWP
final public static byte STEP_SIZE_MIN_JDWP(Code)
Jdwp constants for StepRequests.



SUSPENDPOL_ALL_JDWP
final public static byte SUSPENDPOL_ALL_JDWP(Code)



SUSPENDPOL_EVENT_THREAD_JDWP
final public static byte SUSPENDPOL_EVENT_THREAD_JDWP(Code)



SUSPENDPOL_NONE_JDWP
final public static byte SUSPENDPOL_NONE_JDWP(Code)
Jdwp constants for SuspendPolicy.



fClassExclusionFilters
protected ArrayList fClassExclusionFilters(Code)
Class Exclusion filters.



fClassFilterRefs
protected ArrayList fClassFilterRefs(Code)
Class filters.



fClassFilters
protected ArrayList fClassFilters(Code)
Class filters.



fCountFilters
protected ArrayList fCountFilters(Code)
Count filters.



fExceptionFilters
protected ArrayList fExceptionFilters(Code)
Exception filters.



fFieldFilters
protected ArrayList fFieldFilters(Code)
Field filters.



fInstanceFilters
protected ArrayList fInstanceFilters(Code)
Instance filters.



fLocationFilters
protected ArrayList fLocationFilters(Code)
Location filters.



fRequestID
protected RequestID fRequestID(Code)
RequestId of EventRequest, assigned by the reply data of the JDWP Event Reuqest Set command, null if request had not yet been enabled.



fSourceNameFilters
protected ArrayList fSourceNameFilters(Code)
source name filters
since:
   3.3



fThreadFilters
protected ArrayList fThreadFilters(Code)
Thread filters.



fThreadStepFilters
protected ArrayList fThreadStepFilters(Code)
Thread step filters.




Constructor Detail
EventRequestImpl
protected EventRequestImpl(String description, VirtualMachineImpl vmImpl)(Code)
Creates new EventRequest.




Method Detail
addClassExclusionFilter
public void addClassExclusionFilter(String filter) throws InvalidRequestStateException(Code)
Restricts the events generated by this request to the preparation of reference types whose name does not match this restricted regular expression.



addClassFilter
public void addClassFilter(ReferenceType filter) throws VMMismatchException, InvalidRequestStateException(Code)
Restricts the events generated by this request to the preparation of reference types whose name matches this restricted regular expression.



addClassFilter
public void addClassFilter(String filter) throws InvalidRequestStateException(Code)
Restricts the events generated by this request to be the preparation of the given reference type and any subtypes.



addCountFilter
public void addCountFilter(int count) throws InvalidRequestStateException(Code)
Sets countfilter.



addExceptionFilter
public void addExceptionFilter(ReferenceTypeImpl refType, boolean notifyCaught, boolean notifyUncaught) throws VMMismatchException(Code)
Restricts reported exceptions by their class and whether they are caught or uncaught.



addFieldFilter
public void addFieldFilter(FieldImpl field) throws VMMismatchException(Code)
Restricts reported events to those that occur for a given field.



addInstanceFilter
public void addInstanceFilter(ObjectReference instance)(Code)
Helper method which allows instance filters to be added
Parameters:
  instance - the object ref instance to add to the listing



addLocationFilter
public void addLocationFilter(LocationImpl location) throws VMMismatchException(Code)
Restricts the events generated by this request to those that occur at the given location.



addSourceNameFilter
public void addSourceNameFilter(String pattern)(Code)
Adds a source name filter to the request. An exact match or pattern beginning OR ending in '*'.
Parameters:
  pattern - source name pattern
since:
   3.3



addStepFilter
public void addStepFilter(ThreadReferenceImpl thread, int size, int depth) throws VMMismatchException(Code)
Restricts reported step events to those which satisfy depth and size constraints.



addThreadFilter
public void addThreadFilter(ThreadReference threadFilter) throws ObjectCollectedException, VMMismatchException, InvalidRequestStateException(Code)
Restricts reported events to those in the given thread.



checkDisabled
public void checkDisabled() throws InvalidRequestStateException(Code)

exception:
  InvalidRequestStateException - is thrown if this request is enabled.



clearAllBreakpoints
public static void clearAllBreakpoints(MirrorImpl mirror)(Code)
Clear all breakpoints (used by EventRequestManager).



disable
public synchronized void disable()(Code)
Disables event request.



enable
public synchronized void enable()(Code)
Enables event request.



eventKind
abstract protected byte eventKind()(Code)
Returns JDWP EventKind.



getConstantMaps
public static void getConstantMaps()(Code)
Retrieves constant mappings.



getProperty
public Object getProperty(Object key)(Code)
Returns the value of the property with the specified key.



isEnabled
final public synchronized boolean isEnabled()(Code)
Returns whether event request is enabled.



isGeneratedInside
final public boolean isGeneratedInside()(Code)
Returns whether the event request was generated from inside of this JDI implementation.



modifierCount
protected int modifierCount()(Code)
Returns number of modifiers.



modifierKindMap
public static Map modifierKindMap()(Code)
Returns a map with string representations of type tags.



putProperty
public void putProperty(Object key, Object value)(Code)
Add an arbitrary key/value "property" to this request.



requestID
final public RequestID requestID()(Code)
Returns requestID, or null if request ID is not (yet) assigned.



setEnabled
public void setEnabled(boolean enable)(Code)
Disables or enables event request.



setGeneratedInside
public void setGeneratedInside()(Code)
Sets the generated inside flag. Used for requests that are not generated by JDI requests from outside.



setSuspendPolicy
public void setSuspendPolicy(int suspendPolicy)(Code)
Sets suspend policy.



stepDepthMap
public static Map stepDepthMap()(Code)
Returns a map with string representations of tags.



stepSizeMap
public static Map stepSizeMap()(Code)
Returns a map with string representations of tags.



suspendPolicy
public int suspendPolicy()(Code)
Returns suspend policy.



suspendPolicyJDWP
public byte suspendPolicyJDWP()(Code)
Returns JDWP constant for suspend policy.



suspendPolicyMap
public static Map suspendPolicyMap()(Code)
Returns a map with string representations of type tags.



threadStepDepthJDWP
public int threadStepDepthJDWP(int threadStepDepth)(Code)
Returns JDWP constant for step depth.



threadStepSizeJDWP
public int threadStepSizeJDWP(int threadStepSize)(Code)
Returns JDWP constant for step size.



toString
public String toString()(Code)
Returns string representation.



writeModifiers
protected void writeModifiers(DataOutputStream outData) throws IOException(Code)
Writes JDWP bytestream representation of modifiers.



Fields inherited from org.eclipse.jdi.internal.MirrorImpl
protected String fDescription(Code)(Java Doc)
protected VerboseWriter fVerboseWriter(Code)(Java Doc)

Methods inherited from org.eclipse.jdi.internal.MirrorImpl
public void checkVM(Mirror mirror) throws VMMismatchException(Code)(Java Doc)
public void defaultIOExceptionHandler(Exception e)(Code)(Java Doc)
public void defaultReplyErrorHandler(int error)(Code)(Java Doc)
public void disconnectVM()(Code)(Java Doc)
final public JdwpCommandPacket getCommandVM(int command, long timeout) throws InterruptedException(Code)(Java Doc)
public void handledJdwpEventSet()(Code)(Java Doc)
public void handledJdwpRequest()(Code)(Java Doc)
public void initJdwpEventSet(JdwpCommandPacket commandPacket)(Code)(Java Doc)
public void initJdwpRequest()(Code)(Java Doc)
public boolean readBoolean(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public byte[] readByteArray(int length, String description, DataInputStream in) throws IOException(Code)(Java Doc)
public char readChar(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public double readDouble(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public float readFloat(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public long readLong(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public String readString(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, byte[] outData)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ByteArrayOutputStream outData)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ObjectReferenceImpl object)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ReferenceTypeImpl refType)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public VerboseWriter verboseWriter()(Code)(Java Doc)
public VirtualMachine virtualMachine()(Code)(Java Doc)
public VirtualMachineImpl virtualMachineImpl()(Code)(Java Doc)
public void writeBoolean(boolean value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeChar(char value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeDouble(double value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeFloat(float value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeLong(long value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeString(String value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeVerboseCommandPacketHeader(JdwpCommandPacket commandPacket)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.