Graph configGraph = configGOT.getGraph(new Date());
Model configModel = JenaUtil.getModelFromGraph(configGraph);
Resource httpConfigRes = configModel.createResource(configuration
.getURIRef());
Statement amConfigStmt = httpConfigRes
.getProperty(WEBACCOUNTMANAGER.webAccountManagerConfiguration);
if (amConfigStmt != null) {
Resource amConfigRes = amConfigStmt.getResource();
Statement smtpHostStmt = amConfigRes
.getProperty(WEBACCOUNTMANAGER.smtpServer);
if (smtpHostStmt != null) {
smtpHost = smtpHostStmt.getString();
}
Statement fromAddressStmt = amConfigRes
.getProperty(WEBACCOUNTMANAGER.fromAddress);
if (fromAddressStmt != null) {
fromAddress = fromAddressStmt.getString();
}
}
}