public void enablePooledDatasources() {
IPentahoObjectFactory objectFactory = getFactory();
if ( objectFactory instanceof IPentahoDefinableObjectFactory ) {
define( IDBDatasourceService.class, PooledOrJndiDatasourceService.class, Scope.LOCAL );
}
addLifecycleListener( new PooledDatasourceSystemListener() );
}