public void start() throws PluginException { try { InitialNaming.bind(NAME, this); WorkUtils.add(new Work("Start device manager") { public void execute() { loadExtensions();
public void start(Device device) throws DeviceNotFoundException, DriverException {  getDevice(device.getId());  if (!device.isStarted()) { try { BootLog.debug("Starting " + device.getId());  final StopWatch sw = new StopWatch(); device.start(); sw.stop(); if (sw.isElapsedLongerThen(defaultStartTimeout)) { BootLog.error("Device startup took " + sw + ": " + device.getId()); } else if (sw.isElapsedLongerThen(fastStartTimeout)) { BootLog.info("Device startup took " + sw + ": " + device.getId());
    public void start() throws PluginException {        try {            InitialNaming.bind(NAME, this);            WorkUtils.add(new Work("Start device manager") {                public void execute() {                    loadExtensions();                }                });        } catch (NamingException ex) {            throw new PluginException(ex);        }    }