+ driver = (AbstractDriver) obj;
+ else
+ throw new DetachedException("Could not find driver.");
+
+ DetachedExecutionServer executionServer = null;
+ ServiceReference ref = context
+ .getServiceReference(DetachedExecutionServer.class.getName());
+ if (ref != null)
+ executionServer = (DetachedExecutionServer) context.getService(ref);