* Retrieves the GeoServer data directory
* @return
*/
private String getDataDirectory() {
GeoServerDataDirectory dd = getGeoServerApplication().getBeanOfType(GeoServerDataDirectory.class);
return dd.root().getAbsolutePath();
}
boolean isNativeJAIAvailable() {
// we directly access the Mlib Image class, if in the classpath it will tell us if
// the native extensions are available, if not, an Error will be thrown