public String startNewMobilet(Mobilet m) { updateMobiletLocation(m.getID(), getContextURL()); MobiletThread mt = new MobiletThread(this, m); Thread t = new Thread(mt); t.start(); synchronized (htMobilet) { synchronized (htThread) { htMobilet.put(m.getID(), m); htThread.put(m.getID(), t); // setMobiletClassLoader(m, null); } } return m.getID(); } smc.startNewMobilet("edu.nthucs.inetlab.sensor.agent.DataQuery");