/** * Disposes this client object. * Call this method when you've finished working with this object. This will close * any open network sessions. */ public void dispose() { if (myRepositoryPool != null) { myRepositoryPool.dispose(); } }
/** * @param shutdownAll * @deprecated use {@link #dispose()} instead */ public void shutdownConnections(boolean shutdownAll) { if (myRepositoryPool != null) { myRepositoryPool.dispose(); } }
/** * Disposes this client object. * Call this method when you've finished working with this object. This will close * any open network sessions. */ public void dispose() { if (myRepositoryPool != null) { myRepositoryPool.dispose(); } }
/** * @param shutdownAll * @deprecated use {@link #dispose()} instead */ public void shutdownConnections(boolean shutdownAll) { if (myRepositoryPool != null) { myRepositoryPool.dispose(); } }
/** * Disposes this client object. * Call this method when you've finished working with this object. This will close * any open network sessions. */ public void dispose() { if (myOperationFactory != null) { myOperationFactory.dispose(); } else if (myRepositoryPool != null) { myRepositoryPool.dispose(); } }
/** * Disposes context and repository pool if needed. */ public void dispose() { disposeWcContext(); if (isAutoDisposeRepositoryPool() && repositoryPool != null) { repositoryPool.dispose(); } }
/** * @param shutdownAll whether to shutdown connection * that are considered active at the moment * @deprecated use {@link #dispose()} instead */ public void shutdownConnections(boolean shutdownAll) { if (getRepositoryPool() != null) { getRepositoryPool().dispose(); } }