private static ClusterConfig loadConfig ( File config , ClassLoader classLoader ) { return new ConfigMapper ( classLoader ) . loadResources ( ClusterConfig . class , config . getAbsolutePath ( ) ) ; }
Loads a configuration from the given file .