AbstractDAO<String> dao = stringDAOCache.lookup(abstractKey);
if (dao == null) {
if (abstractKey instanceof ActuatorStateKey) {
dao = new ActuatorStateDAO(((ActuatorStateKey) abstractKey).getActuator(),
getErrorController());
}
else if (abstractKey instanceof SensorStateKey) {
dao = new SensorStateDAO(((SensorStateKey) abstractKey).getSensor(),
getErrorController());