* Returns the URL to the property file that contains Operation definitions from
* $GEOSERVER_DATA_DIR/user_projections/{@value #FILENAME}
* @return The URL, or {@code null} if none.
*/
protected URL getDefinitionsURL() {
GeoServerResourceLoader loader = GeoServerExtensions.bean(GeoServerResourceLoader.class);
if( loader != null ){ // not available for SystemTestData
Resource definition = loader.get("user_projections/" + FILENAME);
if( definition.getType() == Type.RESOURCE ){
File file = definition.file();
URL url = DataUtilities.fileToURL(file);
if( url != null ){
return url;