public Set < String > getServerFeatures ( File serverDirectory ) { Set < String > result = getConfigDropinsFeatures ( null , serverDirectory , "defaults" ) ; result = getServerXmlFeatures ( result , new File ( serverDirectory , "server.xml" ) , null ) ; // add the overrides at the end since they should not be replaced by any previous content return getConfigDropinsFeatures ( result , serverDirectory , "overrides" ) ; }
Get the set of features defined in the server . xml