lcf.buildSecurity("", "", true);
if (myCdProps == null || myCdProps.getPoolParams() == null)
return;
Capacity capacity = null;
if (myCdProps.getPoolParams().getCapacityIncrement() != null &&
myCdProps.getPoolParams().getCapacityIncrement() > 0)
{
String inc = "org.jboss.jca.core.connectionmanager.pool.capacity.SizeIncrementer";
Map<String, String> configProps = new HashMap<String, String>();
configProps.put("Size", myCdProps.getPoolParams().getCapacityIncrement().toString());
capacity = new Capacity(new Extension(inc, configProps), null);
}
int initialCapacity = 0;
int maxCapacity = 0;
if (myCdProps.getPoolParams().getInitialCapacity() != null)
initialCapacity = myCdProps.getPoolParams().getInitialCapacity();