try
{
final ConnectorRuntime connRuntime = mHabitat.getComponent(ConnectorRuntime.class, null);
//as per the method parameters, this is not applicable for "application-scoped" pools
PoolInfo poolInfo = new PoolInfo(poolName);
boolean flushStatus = connRuntime.flushConnectionPool(poolInfo);
result.put(ConnectorRuntimeAPIProvider.FLUSH_CONNECTION_POOL_KEY, flushStatus);
}
catch (ConnectorRuntimeException ex)
{