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