public static ScanManagerConfig read(File f) throws JAXBException {
  final Unmarshaller u=createUnmarshaller();
  return (ScanManagerConfig)u.unmarshal(f);
}

public static ScanManagerConfig read ( File f ) throws JAXBException { final Unmarshaller u = createUnmarshaller ( ) ; return ( ScanManagerConfig ) u . unmarshal ( f ) ; }
reads the configuration from the given xml configuration file .
