src/main/java/com/tzavellas/poolng/ds/DataSourceFactoryBean.java
public void destroy() throws Exception {
		if (dataSource != null) {
			if (registrar != null)
				registrar.unregisterPool(dataSource.getPool());
			dataSource.shutdown();
		}
	}
/**
	 * Shutdown the {@link DefaultDataSource} created by this factory.
	 */
Shutdown the  DefaultDataSource created by this factory.
Shutdown the DefaultDataSource created by this factory .
public void destroy() throws Exception {
		if (dataSource != null) {
			if (registrar != null)
				registrar.unregisterPool(dataSource.getPool());
			dataSource.shutdown();
		}
	}
public void destroy ( ) throws Exception { if ( dataSource != null ) { if ( registrar != null ) registrar . unregisterPool ( dataSource . getPool ( ) ) ; dataSource . shutdown ( ) ; } }
Shutdown the {@link DefaultDataSource} created by this factory.
Shutdown the { @link DefaultDataSource } created by this factory .