Search in sources :

Example 1 with DummyRuntimService

use of services.DummyRuntimService in project btrace by btraceio.

the class ServicesTest method testRuntimeService.

@OnMethod(clazz = "resources.OnMethodTest", method = "args")
public static void testRuntimeService(String a, long b, String[] c, int[] d) {
    DummyRuntimService ds = Service.runtime(DummyRuntimService.class);
    ds.doit(10, "hello");
}
Also used : DummyRuntimService(services.DummyRuntimService) OnMethod(com.sun.btrace.annotations.OnMethod)

Aggregations

OnMethod (com.sun.btrace.annotations.OnMethod)1 DummyRuntimService (services.DummyRuntimService)1