The Probe object

The Probe object describes a single probe that is contained within a Probekit object. There can be several probes in a Probekit object.

The Probe object is a container for other objects that describe the source code fragments, data items, imports, targeting, and other information that you can specify for a probe.

There are two types of probes; method probes, and callsite probes. Method probes are inserted into the body of any target method. Callsite probes are inserted into the body of any method that calls a target method.

Example
<probe>
   <import . . . />
   <import . . . />
   <fragmentAtClassScope>
      . . .
   </fragmentAtClassScope>
   <fragment type="entry">
      . . .
   </fragment>
   <fragment type="catch">
      . . .
   </fragment>
   <target . . . />
</probe>

Contained by
The Probekit object

Parent topic: Probekit element reference

Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.