com.sun.btrace.annotations
Annotation Type OnProbe


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface OnProbe

This annotation is used to specify a BTrace probe point in an abstract fashion instead of specifying the class and the method names. This abstract namespace and (local) name are mapped to one or more concrete probe points by the BTrace agent at runtime.

Author:
A. Sundararajan

Required Element Summary
 java.lang.String name
          Name within the namespace.
 java.lang.String namespace
          Namespace for this abstract (a.k.a logical) probe point.
 

Element Detail

namespace

public abstract java.lang.String namespace
Namespace for this abstract (a.k.a logical) probe point. Namespace follows java package name conventions.


name

public abstract java.lang.String name
Name within the namespace. Identifies a probe uniquely within the namespace.