/** * This method returns all allocated clients back to the STSClientPool when pooling is enabled. */ public void close() { STSClientPool pool = STSClientFactory.getInstance(); for (STSClient client: this.clients) { pool.returnClient(client); } } }
/** * This method returns all allocated clients back to the STSClientPool when pooling is enabled. */ public void close() { STSClientPool pool = STSClientFactory.getInstance(); for (STSClient client: this.clients) { pool.returnClient(client); } } }
STSClientPool pool = STSClientFactory.getInstance(); if (pool != null) { pool.returnClient(stsClient);
STSClientPool pool = STSClientFactory.getInstance(); if (pool != null) { pool.returnClient(stsClient);
STSClientPool pool = STSClientFactory.getInstance(); if (pool != null) { pool.returnClient(stsClient);
STSClientPool pool = STSClientFactory.getInstance(); if (pool != null) { pool.returnClient(stsClient);