public void delete(LoanBO loan) throws AccountException { try { ApplicationContextProvider.getBean(LegacyLoanDao.class).delete(loan); } catch (PersistenceException e) { throw new AccountException(e); } }
/** use update. */ @Deprecated public void setName(String name) { ApplicationContextProvider.getBean(MessageLookup.class) .updateLookupValue(getLookUpValue(), name); }
@Override public String getName() { return ApplicationContextProvider.getBean(MessageLookup.class).lookup(getLookUpValue()); }