@Test public void testNeedLoad() { LookoutModule lookoutModule = new LookoutModule(); Assert.assertEquals(true, lookoutModule.needLoad()); }
@Override public boolean needLoad() { try { Class.forName("com.alipay.lookout.spi.MetricsImporterLocator"); return true; } catch (Exception e) { return false; } }
LookoutModule implements Module { @Override public boolean needLoad() { try { Class.forName("com.alipay.lookout.spi.MetricsImporterLocator"); return true; } catch (Exception e) { return false; } } }
LookoutModule implements Module { @Override public boolean needLoad() { try { Class.forName("com.alipay.lookout.spi.MetricsImporterLocator"); return true; } catch (Exception e) { return false; } }  }
LookoutModule implements Module { @Override public boolean needLoad() { try { Class.forName("com.alipay.lookout.spi.MetricsImporterLocator"); return true; } catch (Exception e) { return false; } }  @Override boolean needLoad(); @Override void install(); @Override void uninstall(); }
LookoutModule implements Module { @Override public boolean needLoad() { try { Class.forName("com.alipay.lookout.spi.MetricsImporterLocator"); return true; } catch (Exception e) { return false; } }  @Override boolean needLoad(); @Override void install(); @Override void uninstall();  }