}
else if (abstractKey instanceof SensorStateKey) {
dao = new SensorStateDAO(((SensorStateKey) abstractKey).getSensor());
}
else if (abstractKey instanceof TimebaseStateKey) {
dao = new TimebaseStateDAO(((TimebaseStateKey) abstractKey).getTimebase());
}
stringDAOCache.register(abstractKey, dao);
}
return dao;
}