@Override public void startup( Workspace workspace ) { try { if ( workspace instanceof DefaultWorkspace ) { File dir = new File( ( (DefaultWorkspace) workspace ).getLocation(), getMetadata().getWorkspacePath() ); bboxCache = new BBoxPropertiesCache( new File( dir, BBOX_CACHE_FILE ) ); } // else? } catch ( IOException e ) { LOG.error( "Unable to initialize global envelope cache: " + e.getMessage(), e ); } super.startup( workspace ); }
this.bboxCache = fsMgr.getBBoxCache(); } else { LOG.warn( "Unmanaged feature store." );
for ( ResourceMetadata<FeatureStore> md : fmgr.getResourceMetadata() ) { softDependencies.add( md.getIdentifier() );