conf = true;
}
}
if (conf) {
logger.log(BasicLevel.INFO, sb.toString());
PoolAttributes poolAttr;
try {
poolAttr = (PoolAttributes)
Fractal.getAttributeController(pool);
} catch (Exception e) {
Component[] children = Fractal.getContentController(speedo).getFcSubComponents();
String[] strs= new String[children.length];
for (int i = 0; i < strs.length; ++i) {
strs[i] = Fractal.getNameController(children[i]).getFcName();
}
throw new RuntimeException("" + Arrays.asList(strs));
}
if (poolMaxSize > -2) {
poolAttr.setMaxSize(poolMaxSize);
}
if (poolMinSize > -2) {
poolAttr.setMinSize(poolMinSize);
}
if (poolTTL > -2) {
poolAttr.setTTL(poolTTL);
}
if (poolInactiveTTL > -2) {
poolAttr.setInactiveTTL(poolInactiveTTL);
}
if (poolTimeout > -2) {
poolAttr.setTimeout(poolTimeout);
}
}
}