@Test public void getAppBarWebInfosMemoization() { assertThat(wac.getAppBarWebInfos("foo"), is(empty())); WebappInfo wInfo0 = new WebappInfo.Builder().server("foo").title("foo").create(); wInfos.add(wInfo0); assertThat(wac.getAppBarWebInfos("foo"), is(empty())); }
public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); }
WebAppCache { public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); } }
WebAppCache { public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); } WebAppCache(Supplier<Collection<ComponentConfig>> supplier); }
WebAppCache { public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); } WebAppCache(Supplier<Collection<ComponentConfig>> supplier); List<WebappInfo> getAppBarWebInfos(String serverName); List<WebappInfo> getAppBarWebInfos(String serverName, String menuName); Optional<WebappInfo> getWebappInfo(String serverName, String webAppName); static WebAppCache getShared(); }
WebAppCache { public List<WebappInfo> getAppBarWebInfos(String serverName) { return getAppBarWebInfos(serverName, null); } WebAppCache(Supplier<Collection<ComponentConfig>> supplier); List<WebappInfo> getAppBarWebInfos(String serverName); List<WebappInfo> getAppBarWebInfos(String serverName, String menuName); Optional<WebappInfo> getWebappInfo(String serverName, String webAppName); static WebAppCache getShared();  }