Java 类org.gradle.api.internal.DomainObjectContext 实例源码

项目:Reer    文件:DefaultConfigurationContainer.java   
public DefaultConfigurationContainer(ConfigurationResolver resolver,
                                     Instantiator instantiator, DomainObjectContext context, ListenerManager listenerManager,
                                     DependencyMetaDataProvider dependencyMetaDataProvider, ProjectAccessListener projectAccessListener,
                                     ProjectFinder projectFinder, ConfigurationComponentMetaDataBuilder configurationComponentMetaDataBuilder,
                                     FileCollectionFactory fileCollectionFactory, DependencySubstitutionRules globalDependencySubstitutionRules,
                                     ComponentIdentifierFactory componentIdentifierFactory, BuildOperationExecutor buildOperationExecutor) {
    super(Configuration.class, instantiator, new Configuration.Namer());
    this.resolver = resolver;
    this.instantiator = instantiator;
    this.context = context;
    this.listenerManager = listenerManager;
    this.dependencyMetaDataProvider = dependencyMetaDataProvider;
    this.projectAccessListener = projectAccessListener;
    this.projectFinder = projectFinder;
    this.configurationComponentMetaDataBuilder = configurationComponentMetaDataBuilder;
    this.fileCollectionFactory = fileCollectionFactory;
    this.globalDependencySubstitutionRules = globalDependencySubstitutionRules;
    this.componentIdentifierFactory = componentIdentifierFactory;
    this.buildOperationExecutor = buildOperationExecutor;
    this.artifactNotationParser = new PublishArtifactNotationParserFactory(instantiator, dependencyMetaDataProvider).create();
}
项目:Reer    文件:DefaultDependencyManagementServices.java   
ConfigurationContainerInternal createConfigurationContainer(Instantiator instantiator, ConfigurationResolver configurationResolver, DomainObjectContext domainObjectContext,
                                                            ListenerManager listenerManager, DependencyMetaDataProvider metaDataProvider, ProjectAccessListener projectAccessListener,
                                                            ProjectFinder projectFinder, ConfigurationComponentMetaDataBuilder metaDataBuilder, FileCollectionFactory fileCollectionFactory,
                                                            GlobalDependencyResolutionRules globalDependencyResolutionRules, ComponentIdentifierFactory componentIdentifierFactory, BuildOperationExecutor buildOperationExecutor) {
    return instantiator.newInstance(DefaultConfigurationContainer.class,
            configurationResolver,
            instantiator,
            domainObjectContext,
            listenerManager,
            metaDataProvider,
            projectAccessListener,
            projectFinder,
            metaDataBuilder,
            fileCollectionFactory,
            globalDependencyResolutionRules.getDependencySubstitutionRules(),
            componentIdentifierFactory,
            buildOperationExecutor
        );
}
项目:Reer    文件:DefaultDependencyManagementServices.java   
public DependencyResolutionServices create(FileResolver fileResolver, DependencyMetaDataProvider dependencyMetaDataProvider, ProjectFinder projectFinder, DomainObjectContext domainObjectContext) {
    DefaultServiceRegistry services = new DefaultServiceRegistry(parent);
    services.add(FileResolver.class, fileResolver);
    services.add(DependencyMetaDataProvider.class, dependencyMetaDataProvider);
    services.add(ProjectFinder.class, projectFinder);
    services.add(DomainObjectContext.class, domainObjectContext);
    services.addProvider(new DependencyResolutionScopeServices());
    return services.get(DependencyResolutionServices.class);
}
项目:Reer    文件:ProjectScopeServices.java   
public ProjectScopeServices(final ServiceRegistry parent, final ProjectInternal project, Factory<LoggingManagerInternal> loggingManagerInternalFactory) {
    super(parent);
    this.project = project;
    this.loggingManagerInternalFactory = loggingManagerInternalFactory;
    register(new Action<ServiceRegistration>() {
        public void execute(ServiceRegistration registration) {
            registration.add(DomainObjectContext.class, project);
            parent.get(DependencyManagementServices.class).addDslServices(registration);
            for (PluginServiceRegistry pluginServiceRegistry : parent.getAll(PluginServiceRegistry.class)) {
                pluginServiceRegistry.registerProjectServices(registration);
            }
        }
    });
}
项目:Pushjet-Android    文件:DefaultConfigurationContainer.java   
public DefaultConfigurationContainer(ConfigurationResolver resolver,
                                     Instantiator instantiator, DomainObjectContext context, ListenerManager listenerManager,
                                     DependencyMetaDataProvider dependencyMetaDataProvider) {
    super(Configuration.class, instantiator, new Configuration.Namer());
    this.resolver = resolver;
    this.instantiator = instantiator;
    this.context = context;
    this.listenerManager = listenerManager;
    this.dependencyMetaDataProvider = dependencyMetaDataProvider;
}
项目:Pushjet-Android    文件:DefaultDependencyManagementServices.java   
public DependencyResolutionServices create(FileResolver fileResolver, DependencyMetaDataProvider dependencyMetaDataProvider, ProjectFinder projectFinder, DomainObjectContext domainObjectContext) {
    DefaultServiceRegistry services = new DefaultServiceRegistry(parent);
    services.add(FileResolver.class, fileResolver);
    services.add(DependencyMetaDataProvider.class, dependencyMetaDataProvider);
    services.add(ProjectFinder.class, projectFinder);
    services.add(DomainObjectContext.class, domainObjectContext);
    services.addProvider(new DependencyResolutionScopeServices());
    return services.get(DependencyResolutionServices.class);
}
项目:Pushjet-Android    文件:DefaultDependencyManagementServices.java   
ConfigurationContainerInternal createConfigurationContainer(Instantiator instantiator, ConfigurationResolver configurationResolver, DomainObjectContext domainObjectContext,
                                                            ListenerManager listenerManager, DependencyMetaDataProvider metaDataProvider) {
    return instantiator.newInstance(DefaultConfigurationContainer.class,
            configurationResolver,
            instantiator,
            domainObjectContext,
            listenerManager,
            metaDataProvider);
}
项目:Pushjet-Android    文件:DefaultScriptHandlerFactory.java   
public ScriptHandler create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context) {
    DependencyResolutionServices services = dependencyManagementServices.create(fileResolver, dependencyMetaDataProvider, projectFinder, context);
    RepositoryHandler repositoryHandler = services.getResolveRepositoryHandler();
    ConfigurationContainer configurationContainer = services.getConfigurationContainer();
    DependencyHandler dependencyHandler = services.getDependencyHandler();
    return new DefaultScriptHandler(scriptSource, repositoryHandler, dependencyHandler, configurationContainer, new ScriptHandlerClassLoaderFactory(scriptSource, classLoaderScope));
}
项目:Pushjet-Android    文件:DefaultConfigurationContainer.java   
public DefaultConfigurationContainer(ConfigurationResolver resolver,
                                     Instantiator instantiator, DomainObjectContext context, ListenerManager listenerManager,
                                     DependencyMetaDataProvider dependencyMetaDataProvider) {
    super(Configuration.class, instantiator, new Configuration.Namer());
    this.resolver = resolver;
    this.instantiator = instantiator;
    this.context = context;
    this.listenerManager = listenerManager;
    this.dependencyMetaDataProvider = dependencyMetaDataProvider;
}
项目:Pushjet-Android    文件:DefaultDependencyManagementServices.java   
public DependencyResolutionServices create(FileResolver fileResolver, DependencyMetaDataProvider dependencyMetaDataProvider, ProjectFinder projectFinder, DomainObjectContext domainObjectContext) {
    DefaultServiceRegistry services = new DefaultServiceRegistry(parent);
    services.add(FileResolver.class, fileResolver);
    services.add(DependencyMetaDataProvider.class, dependencyMetaDataProvider);
    services.add(ProjectFinder.class, projectFinder);
    services.add(DomainObjectContext.class, domainObjectContext);
    services.addProvider(new DependencyResolutionScopeServices());
    return services.get(DependencyResolutionServices.class);
}
项目:Pushjet-Android    文件:DefaultDependencyManagementServices.java   
ConfigurationContainerInternal createConfigurationContainer(Instantiator instantiator, ConfigurationResolver configurationResolver, DomainObjectContext domainObjectContext,
                                                            ListenerManager listenerManager, DependencyMetaDataProvider metaDataProvider) {
    return instantiator.newInstance(DefaultConfigurationContainer.class,
            configurationResolver,
            instantiator,
            domainObjectContext,
            listenerManager,
            metaDataProvider);
}
项目:Pushjet-Android    文件:DefaultScriptHandlerFactory.java   
public ScriptHandler create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context) {
    DependencyResolutionServices services = dependencyManagementServices.create(fileResolver, dependencyMetaDataProvider, projectFinder, context);
    RepositoryHandler repositoryHandler = services.getResolveRepositoryHandler();
    ConfigurationContainer configurationContainer = services.getConfigurationContainer();
    DependencyHandler dependencyHandler = services.getDependencyHandler();
    return new DefaultScriptHandler(scriptSource, repositoryHandler, dependencyHandler, configurationContainer, new ScriptHandlerClassLoaderFactory(scriptSource, classLoaderScope));
}
项目:Reer    文件:DefaultScriptHandlerFactory.java   
public ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context) {
    DependencyResolutionServices services = dependencyManagementServices.create(fileResolver, dependencyMetaDataProvider, projectFinder, context);
    return new DefaultScriptHandler(scriptSource, services, classLoaderScope);
}
项目:Reer    文件:DependencyManagementServices.java   
DependencyResolutionServices create(FileResolver resolver, DependencyMetaDataProvider dependencyMetaDataProvider,
ProjectFinder projectFinder, DomainObjectContext domainObjectContext);
项目:Pushjet-Android    文件:DependencyManagementServices.java   
DependencyResolutionServices create(FileResolver resolver, DependencyMetaDataProvider dependencyMetaDataProvider,
ProjectFinder projectFinder, DomainObjectContext domainObjectContext);
项目:Pushjet-Android    文件:DependencyManagementServices.java   
DependencyResolutionServices create(FileResolver resolver, DependencyMetaDataProvider dependencyMetaDataProvider,
ProjectFinder projectFinder, DomainObjectContext domainObjectContext);
项目:Reer    文件:ScriptHandlerFactory.java   
ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context);
项目:Pushjet-Android    文件:ScriptHandlerFactory.java   
ScriptHandler create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context);
项目:Pushjet-Android    文件:ScriptHandlerFactory.java   
ScriptHandler create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context);