}
else if (abstractKey instanceof ActuatorKey) {
dao = new ActuatorImageDAO(((ActuatorKey) abstractKey).getActuator());
}
else if (abstractKey instanceof SensorKey) {
dao = new SensorImageDAO(((SensorKey) abstractKey).getSensor());
}
numberImageDAOCache.register(abstractKey, dao);
}
return dao;
}