result.put(REASON_FAILED_KEY, "Habitat is null");
return result;
}
// check pool name
final Resources resources = getDomainRootProxy().child(Domain.class).getResources();
final Map<String, JdbcConnectionPool> pools = resources.childrenMap(JdbcConnectionPool.class);
final JdbcConnectionPool cfg = pools.get(poolName);
if (cfg == null)
{
result.put(REASON_FAILED_KEY, "The JdbcConnectionPool \"" + poolName + "\" does not exist");
return result;