public static Path currentDataDirectory ( ) { RootDirectorySystem rootService = getCurrent ( ) ; if ( rootService == null ) throw new IllegalStateException ( L . l ( "{0} must be active for getCurrentDataDirectory()." , RootDirectorySystem . class . getSimpleName ( ) ) ) ; return rootService . dataDirectory ( ) ; }
Returns the data directory for current active directory service .