* @see org.apache.uima.resource.CasManager#setMinimumCasPoolSize(java.lang.String, int)
*/
public void defineCasPool(String aRequestorContextName, int aSize,
Properties aPerformanceTuningSettings) throws ResourceInitializationException {
if (aSize > 0) {
CasPool pool = (CasPool) mRequestorToCasPoolMap.get(aRequestorContextName);
if (pool == null) {
// this requestor hasn't requested a CAS before
pool = new CasPool(aSize, this, aPerformanceTuningSettings);
populateCasToCasPoolMap(pool);
mRequestorToCasPoolMap.put(aRequestorContextName, pool);
} else {
throw new UIMARuntimeException(UIMARuntimeException.DEFINE_CAS_POOL_CALLED_TWICE,
new Object[] { aRequestorContextName });