}
}
//Add our dummy ConnectionEventListener impl.
//This impl only knows how to handle connectionClosed events
mc.addConnectionEventListener( new UnpooledConnectionEventListener() );
return returnConnectionHandle ?
mc.getConnection( defaultSubject, null ) :
mc;
}