Perform the following steps to auto-wire Collections and Properties components:
- For both of the projects involved in the preceding recipes, create the following model classes inside their own package org.packt.starter.ioc.model:
public class ListEmployees { private List<Employee> listEmps; private List<String> listEmpNames; // getters and setters } public class SetDepartments { private Set<Department> setDepts; private Set<String> deptNames; // getters and setters } public class MapEmpTasks { private Map<String, Employee> mapEmpTask; private Map<String,String> mapEmpMgr; // getters and setters } public class PropertiesAudition { private Properties auditionAddress; private Properties auditonRequirement; // getters and setters ...