Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 143251

Summary: Probe authors should be allowed to specify support classes that should be deployed dynamically
Product: z_Archived Reporter: Navid Mehregani <nmehrega>
Component: TPTPAssignee: Navid Mehregani <nmehrega>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: caniszczyk, paulslau
Version: unspecifiedKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://www.eclipse.org/tptp/groups/Architecture/documents/features/hf_143251.html
Whiteboard:

Description Navid Mehregani CLA 2006-05-23 12:09:40 EDT
Currently probekit only sends the generated classes for probes over the wire when probes are deployed dynamically.

This means that a probe author cannot just use an external class in their probes when they're applying their probe dynamically.  They have to use java reflection to discover the class and invoke any of its methods.  Then they have to manually copy the class file to the remote machine and include it under their CLASSPATH.  This adds unnecessary complication to the code.  Java reflection make the code more complicated and harder to follow.  Java reflection is also quite slow.

I propose a solution that will allow probe authors to specify which classes should be sent over the wire when deploying dyanmically.  Then the author can use the support classes as-is without the need for Java reflection.
Comment 1 Chris Aniszczyk CLA 2006-06-01 19:22:01 EDT
Hi Navid :)
Comment 2 Sri Doddapaneni CLA 2006-06-28 01:23:18 EDT
Proposed for 4.3 plan.
Comment 3 Valentina Popescu CLA 2006-07-18 15:16:23 EDT
Reviewed and approved by AG on July 18
Comment 4 Sri Doddapaneni CLA 2006-08-18 13:15:29 EDT
Not in 4.3 plan due to resource constraint.
Comment 5 Navid Mehregani CLA 2006-09-15 12:32:59 EDT
Code and test cases checked in to CVS.
Comment 6 Navid Mehregani CLA 2006-09-15 12:33:09 EDT
Closing
Comment 7 Navid Mehregani CLA 2006-10-24 14:55:08 EDT
Setting target milestone