public StandardServiceManager(SearchConfiguration cfg, BuildContext buildContext) {
this.properties = cfg.getProperties();
this.providedServices = Collections.unmodifiableMap( cfg.getProvidedServices() );
this.buildContext = buildContext;
this.aggregatedClassLoader = new AggregatedClassLoader(
Thread.currentThread().getContextClassLoader(),
this.getClass().getClassLoader()
);
}