@Test public void testRun() throws Throwable { BSH bSH = new BSH(); bSH.run(); assertNull(bSH.bsh, "bSH.bsh"); assertFalse(bSH.isModified(), "bSH.isModified()"); }
public void run () { Element config = getPersist(); try { bsh.set ("qbean", this); bsh.set ("log", getLog()); bsh.set ("cfg", getConfiguration()); bsh.eval (config.getText()); String source = config.getAttributeValue ("source"); if (source != null) bsh.source (source); } catch (Throwable e) { getLog().warn (e); } }
BSH extends QBeanSupport implements Runnable { public void run () { Element config = getPersist(); try { bsh.set ("qbean", this); bsh.set ("log", getLog()); bsh.set ("cfg", getConfiguration()); bsh.eval (config.getText()); String source = config.getAttributeValue ("source"); if (source != null) bsh.source (source); } catch (Throwable e) { getLog().warn (e); } } }
BSH extends QBeanSupport implements Runnable { public void run () { Element config = getPersist(); try { bsh.set ("qbean", this); bsh.set ("log", getLog()); bsh.set ("cfg", getConfiguration()); bsh.eval (config.getText()); String source = config.getAttributeValue ("source"); if (source != null) bsh.source (source); } catch (Throwable e) { getLog().warn (e); } }  }
BSH extends QBeanSupport implements Runnable { public void run () { Element config = getPersist(); try { bsh.set ("qbean", this); bsh.set ("log", getLog()); bsh.set ("cfg", getConfiguration()); bsh.eval (config.getText()); String source = config.getAttributeValue ("source"); if (source != null) bsh.source (source); } catch (Throwable e) { getLog().warn (e); } }  void initService(); void startService(); void run(); }
BSH extends QBeanSupport implements Runnable { public void run () { Element config = getPersist(); try { bsh.set ("qbean", this); bsh.set ("log", getLog()); bsh.set ("cfg", getConfiguration()); bsh.eval (config.getText()); String source = config.getAttributeValue ("source"); if (source != null) bsh.source (source); } catch (Throwable e) { getLog().warn (e); } }  void initService(); void startService(); void run();  }