当前位置: 首页>>代码示例>>Java>>正文


Java DomainObjectContext类代码示例

本文整理汇总了Java中org.gradle.api.internal.DomainObjectContext的典型用法代码示例。如果您正苦于以下问题:Java DomainObjectContext类的具体用法?Java DomainObjectContext怎么用?Java DomainObjectContext使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


DomainObjectContext类属于org.gradle.api.internal包,在下文中一共展示了DomainObjectContext类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: DefaultConfigurationContainer

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
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();
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:22,代码来源:DefaultConfigurationContainer.java

示例2: createConfigurationContainer

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
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
        );
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:20,代码来源:DefaultDependencyManagementServices.java

示例3: create

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
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);
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:10,代码来源:DefaultDependencyManagementServices.java

示例4: ProjectScopeServices

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
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);
            }
        }
    });
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:15,代码来源:ProjectScopeServices.java

示例5: DefaultConfigurationContainer

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
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;
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:11,代码来源:DefaultConfigurationContainer.java

示例6: createConfigurationContainer

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
ConfigurationContainerInternal createConfigurationContainer(Instantiator instantiator, ConfigurationResolver configurationResolver, DomainObjectContext domainObjectContext,
                                                            ListenerManager listenerManager, DependencyMetaDataProvider metaDataProvider) {
    return instantiator.newInstance(DefaultConfigurationContainer.class,
            configurationResolver,
            instantiator,
            domainObjectContext,
            listenerManager,
            metaDataProvider);
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:10,代码来源:DefaultDependencyManagementServices.java

示例7: create

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
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));
}
 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:8,代码来源:DefaultScriptHandlerFactory.java

示例8: create

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
public ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context) {
    DependencyResolutionServices services = dependencyManagementServices.create(fileResolver, dependencyMetaDataProvider, projectFinder, context);
    return new DefaultScriptHandler(scriptSource, services, classLoaderScope);
}
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:5,代码来源:DefaultScriptHandlerFactory.java

示例9: create

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
DependencyResolutionServices create(FileResolver resolver, DependencyMetaDataProvider dependencyMetaDataProvider,
ProjectFinder projectFinder, DomainObjectContext domainObjectContext);
 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:3,代码来源:DependencyManagementServices.java

示例10: create

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
ScriptHandlerInternal create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context); 
开发者ID:lxxlxx888,项目名称:Reer,代码行数:2,代码来源:ScriptHandlerFactory.java

示例11: create

import org.gradle.api.internal.DomainObjectContext; //导入依赖的package包/类
ScriptHandler create(ScriptSource scriptSource, ClassLoaderScope classLoaderScope, DomainObjectContext context); 
开发者ID:Pushjet,项目名称:Pushjet-Android,代码行数:2,代码来源:ScriptHandlerFactory.java


注:本文中的org.gradle.api.internal.DomainObjectContext类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。