secure method visibility in connection pool