Public Member Functions | |
ACSSourceDAOImpl (Logger log, ConcurrentHashMap< String, Source > sources) |
cl.utfsm.acs.acg.dao.ACSSourceDAOImpl.ACSSourceDAOImpl | ( | Logger | log, | |
ConcurrentHashMap< String, Source > | sources | |||
) |
Constructor.
The constructor takes the sources as parameter. After the refactory of the CDB the sources are read by the ACSAlarmDAOImpl because they are defined together with the alarms. By passing the sources as parameter, objects from this class avoid to read again the sources from the CDB.
log | The logger | |
sources | The sources |
Reimplemented from com.cosylab.acs.laser.dao.ACSSourceDAOImpl.