- ServiceReference ref = context
- .getServiceReference("org.argeo.slc.autoui.AutoUiApplication");
- Object service = context.getService(ref);
- AutoUiActivator.stdOut("service.class=" + service.getClass());
- AutoUiApplication app = (AutoUiApplication) service;
- app.execute(null);
+ ServiceReference ref = bundleContext
+ .getServiceReference(DetachedExecutionServer.class.getName());
+ Object service = bundleContext.getService(ref);
+
+ log.debug("service.class=" + service.getClass());
+ DetachedExecutionServer app = (DetachedExecutionServer) service;
+ DetachedStepRequest request = new DetachedStepRequest();
+ request.setStepRef("jemmyTest");
+ app.executeStep(request);