public static CheckOutRepoService getBean() { if (checkOutRepoService == null) { checkOutRepoService = new CheckOutRepoImpl(); } return(checkOutRepoService); }
public CheckOutImpl() { checkOutRepoService = CheckOutRepoServiceBean.getBean(); conditionService = ConditionServiceBean.getBean(); patronService = PatronServiceBean.getBean(); mediaService = MediaServiceBean.getBean(); employeeService = EmployeeServiceBean.getBean(); }