@Loggable(value = LogLevel.TRACE) public List<Account> getAccounts(User user) throws AccountManagementException { List<Account> accountList = getAccountListFromCache(); if (accountList != null) { return accountList; } else { try { accountList = new ArrayList<Account>(); for (CustAcctMapDAO accountMap : getAccountMap(user)) { accountList.add(getAccount(accountMap.getAccountNo())); } CacheManager.set(CacheKey.ACCOUNTS, accountList); return accountList; } catch (AccountManagementException e) { throw e; } } }