private DefaultRepositoryHandler createRepositoryHandler() { Instantiator instantiator = parent.get(Instantiator.class); ResolverFactory resolverFactory = new DefaultResolverFactory( get(LocalMavenCacheLocator.class), fileResolver, instantiator, get(RepositoryTransportFactory.class)); return instantiator.newInstance( DefaultRepositoryHandler.class, resolverFactory, instantiator); }
public ConfigurationContainerInternal getConfigurationContainer() { if (configurationContainer == null) { Instantiator instantiator = parent.get(Instantiator.class); ArtifactDependencyResolver dependencyResolver = createDependencyResolver(getResolveRepositoryHandler()); configurationContainer = instantiator.newInstance( DefaultConfigurationContainer.class, dependencyResolver, instantiator, domainObjectContext, parent.get(ListenerManager.class), dependencyMetaDataProvider); } return configurationContainer; }