if (CONTEXT_ELEMENT.equals(child.getNodeName())) {
DaoContext daoContext = parseContext((Element) child, daoManager);
daoManager.addContext(daoContext);
} else if (PROPERTIES_ELEMENT.equals(child.getNodeName())) {
Properties attributes = parseAttributes(child);
if (attributes.containsKey("resource")) {
String resource = attributes.getProperty("resource");
if (properties == null) {
properties = Resources.getResourceAsProperties(resource);
} else {
Properties tempProps = Resources.getResourceAsProperties(resource);