use of services.DummySimpleService in project btrace by btraceio.
the class ServicesTest method testSingletonService.
@OnMethod(clazz = "resources.OnMethodTest", method = "args$static")
public static void testSingletonService(String a, long b, String[] c, int[] d) {
DummySimpleService ds = Service.simple("getInstance", DummySimpleService.class);
ds.doit("hello", 10);
}
use of services.DummySimpleService in project btrace by btraceio.
the class ServicesTest method testSimpleService.
@OnMethod(clazz = "resources.OnMethodTest", method = "noargs")
public static void testSimpleService() {
DummySimpleService ds = Service.simple(DummySimpleService.class);
ds.doit("hello", 10);
}
Aggregations