Example #1
0
 public ExchangeImpl()
 {
     exchangeRepoService = ExchangeRepoServiceBean.getBean();
     conditionService    = ConditionServiceBean.getBean();
     patronService       = PatronServiceBean.getBean();
     mediaService        = MediaServiceBean.getBean();
 }
 public static ExchangeRepoService getBean()
 {
     if (exchangeRepoService == null)
     {
         exchangeRepoService = new ExchangeRepoImpl();
     }
     return(exchangeRepoService);
 }