• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ComponentImport类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport的典型用法代码示例。如果您正苦于以下问题:Java ComponentImport类的具体用法?Java ComponentImport怎么用?Java ComponentImport使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ComponentImport类属于com.atlassian.plugin.spring.scanner.annotation.imports包,在下文中一共展示了ComponentImport类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: PullRequestListener

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public PullRequestListener(@ComponentImport ApplicationPropertiesService applicationPropertiesService,
                           @ComponentImport EventPublisher eventPublisher,
                           @ComponentImport ExecutorService executorService,
                           HttpClientFactory httpClientFactory,
                           @ComponentImport NavBuilder navBuilder,
                           @ComponentImport ScmService scmService,
                           @ComponentImport CommitIndex commitIndex,
                           WebHookConfigurationDao webHookConfigurationDao)
{
    this.applicationPropertiesService = applicationPropertiesService;
    this.eventPublisher = eventPublisher;
    this.executorService = executorService;
    this.navBuilder = navBuilder;
    this.scmService = scmService;
    this.commitIndex = commitIndex;
    this.webHookConfigurationDao = webHookConfigurationDao;
    String bitbucketVersion = applicationPropertiesService.getBuildVersion();
    useCanMerge = new Version(bitbucketVersion).compareTo(new Version(4, 10)) < 0;
    httpClient = httpClientFactory.create(bitbucketVersion);
}
 
开发者ID:Eernie,项目名称:bitbucket-webhooks-plugin,代码行数:22,代码来源:PullRequestListener.java


示例2: DefaultSmartcommitsService

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public DefaultSmartcommitsService(@ComponentImport IssueManager issueManager,
        @Qualifier ("smartcommitsTransitionsHandler") TransitionHandler transitionHandler,
        @Qualifier ("smartcommitsCommentHandler") CommentHandler commentHandler,
        @Qualifier ("smartcommitsWorklogHandler") WorkLogHandler workLogHandler,
        @ComponentImport JiraAuthenticationContext jiraAuthenticationContext,
        @ComponentImport CrowdService crowdService)
{
    this.crowdService = checkNotNull(crowdService);

    NO_CACHE = new CacheControl();
    NO_CACHE.setNoCache(true);

    this.issueManager = checkNotNull(issueManager);
    this.transitionHandler = transitionHandler;
    this.commentHandler = commentHandler;
    this.workLogHandler = workLogHandler;
    this.jiraAuthenticationContext = checkNotNull(jiraAuthenticationContext);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:20,代码来源:DefaultSmartcommitsService.java


示例3: DvcsStreamsActivityProvider

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public DvcsStreamsActivityProvider(@ComponentImport I18nResolver i18nResolver,
        @ComponentImport ApplicationProperties applicationProperties,
        @ComponentImport UserProfileAccessor userProfileAccessor,
        IssueLinker issueLinker,
        @ComponentImport TemplateRenderer templateRenderer,
        @ComponentImport PermissionManager permissionManager,
        @ComponentImport JiraAuthenticationContext jiraAuthenticationContext,
        @ComponentImport ProjectManager projectManager,
        ChangesetService changesetService,
        RepositoryService repositoryService,
        IssueAndProjectKeyManager issueAndProjectKeyManager)
{
    this.applicationProperties = applicationProperties;
    this.i18nResolver = i18nResolver;
    this.userProfileAccessor = userProfileAccessor;
    this.issueLinker = issueLinker;
    this.templateRenderer = checkNotNull(templateRenderer);
    this.permissionManager = permissionManager;
    this.jiraAuthenticationContext = jiraAuthenticationContext;
    this.projectManager = projectManager;
    this.changesetService = changesetService;
    this.repositoryService = repositoryService;
    this.issueAndProjectKeyManager = issueAndProjectKeyManager;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:25,代码来源:DvcsStreamsActivityProvider.java


示例4: DefaultSynchronizer

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public DefaultSynchronizer(@ComponentImport final CacheManager cacheManager,
        final ClusterLockServiceFactory clusterLockServiceFactory)
{
    this.clusterLockService = checkNotNull(clusterLockServiceFactory.getClusterLockService());
    this.progressMap = cacheManager.getCache(getClass().getName() + ".progressMap");
    // clear the cache as a temp fix for BBC-744
    if (LOG.isDebugEnabled())
    {
        final Collection<Integer> keys = progressMap.getKeys();
        if (!keys.isEmpty())
        {
            LOG.debug("clearing progressMap of size {} ", keys.size());
        }
    }
    progressMap.removeAll();
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:18,代码来源:DefaultSynchronizer.java


示例5: RepositoryConfigServlet

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public RepositoryConfigServlet(@ComponentImport SoyTemplateRenderer soyTemplateRenderer, @ComponentImport RepositoryService repositoryService, WebHookConfigurationDao webHookConfigurationDao)
{
	this.soyTemplateRenderer = soyTemplateRenderer;
	this.repositoryService = repositoryService;
	this.webHookConfigurationDao = webHookConfigurationDao;
}
 
开发者ID:Eernie,项目名称:bitbucket-webhooks-plugin,代码行数:8,代码来源:RepositoryConfigServlet.java


示例6: SASTScanTask

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public SASTScanTask(
		@ComponentImport I18nBeanFactory i18nBeanFactory, 
		@ComponentImport ProcessService processService, 
		@ComponentImport ArtifactManager artifactManager, 
		@ComponentImport CredentialsManager credentialsManager,  
		@ComponentImport CapabilityContext capabilityContext) {
	
	logger = new LogHelper(i18nBeanFactory.getI18nBean());
	scanner = new SASTScanner(logger, processService);
	
	this.artifactManager = artifactManager;
	this.credentialsManager = credentialsManager;
	this.capabilityContext = capabilityContext;
}
 
开发者ID:AppSecDev,项目名称:asoc-bamboo-plugin,代码行数:15,代码来源:SASTScanTask.java


示例7: SASTScanTaskConfigurator

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public SASTScanTaskConfigurator(
		@ComponentImport UIConfigSupport uiConfigSupport, 
		@ComponentImport CredentialsManager credentialsManager, 
		@ComponentImport I18nBeanFactory i18nBeanFactory) {
	
	this.uiConfigSupport = uiConfigSupport;
	this.credentialsManager = credentialsManager;
	this.i18nBean = i18nBeanFactory.getI18nBean();
}
 
开发者ID:AppSecDev,项目名称:asoc-bamboo-plugin,代码行数:10,代码来源:SASTScanTaskConfigurator.java


示例8: ChangesetRendererImpl

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public ChangesetRendererImpl(ChangesetService changesetService, RepositoryService repositoryService, IssueLinker issueLinker,
        @ComponentImport ApplicationProperties applicationProperties, @ComponentImport TemplateRenderer templateRenderer,
        IssueAndProjectKeyManager issueAndProjectKeyManager)
{
    this.changesetService = changesetService;
    this.repositoryService = repositoryService;
    this.issueLinker = issueLinker;
    this.applicationProperties = checkNotNull(applicationProperties);
    this.templateRenderer = checkNotNull(templateRenderer);
    this.issueAndProjectKeyManager = issueAndProjectKeyManager;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:ChangesetRendererImpl.java


示例9: DvcsTabPanel

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public DvcsTabPanel(PanelVisibilityManager panelVisibilityManager,
        @ComponentImport SoyTemplateRendererProvider soyTemplateRendererProvider, RepositoryService repositoryService,
        @ComponentImport WebResourceManager webResourceManager,
        ChangesetRenderer renderer, @ComponentImport EventPublisher eventPublisher)
{
    this.panelVisibilityManager = panelVisibilityManager;
    this.renderer = renderer;
    this.soyTemplateRenderer = soyTemplateRendererProvider.getRenderer();
    this.repositoryService = repositoryService;
    this.webResourceManager = webResourceManager;
    this.eventPublisher = eventPublisher;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:DvcsTabPanel.java


示例10: ChangesetIssueActionFactory

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public ChangesetIssueActionFactory(RepositoryService repositoryService, IssueLinker issueLinker,
        @ComponentImport ApplicationProperties applicationProperties, ChangesetService changesetService,
        @ComponentImport TemplateRenderer templateRenderer)
{
    this.repositoryService = repositoryService;
    this.issueLinker = issueLinker;
    this.applicationProperties = checkNotNull(applicationProperties);
    this.changesetService = changesetService;
    this.templateRenderer = checkNotNull(templateRenderer);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:12,代码来源:ChangesetIssueActionFactory.java


示例11: DvcsTabPanelContextProvider

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public DvcsTabPanelContextProvider(ChangesetRenderer changesetRenderer, RepositoryService repositoryService,
        @ComponentImport EventPublisher eventPublisher)
{
    this.changesetRenderer = changesetRenderer;
    this.repositoryService = repositoryService;
    this.eventPublisher = checkNotNull(eventPublisher);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:8,代码来源:DvcsTabPanelContextProvider.java


示例12: ConfigureDvcsOrganizations

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public ConfigureDvcsOrganizations(@ComponentImport EventPublisher eventPublisher, OrganizationService organizationService,
        @ComponentImport FeatureManager featureManager, PluginFeatureDetector featuresDetector,
        @ComponentImport PluginSettingsFactory pluginSettingsFactory, OAuthStore oAuthStore, SyncDisabledHelper syncDisabledHelper)
{
    this.eventPublisher = eventPublisher;
    this.organizationService = organizationService;
    this.featureManager = featureManager;
    this.featuresDetector = featuresDetector;
    this.oAuthStore = oAuthStore;
    this.invalidOrganizationsManager = new InvalidOrganizationsManagerImpl(pluginSettingsFactory);
    this.syncDisabledHelper = syncDisabledHelper;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:ConfigureDvcsOrganizations.java


示例13: DvcsActivityTabPanel

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public DvcsActivityTabPanel(@ComponentImport PermissionManager permissionManager,
        RepositoryService repositoryService, RepositoryPullRequestDao activityDao,
        @Qualifier ("aggregatedIssueActionFactory") IssueActionFactory issueActionFactory,
        @ComponentImport TemplateRenderer templateRenderer, IssueAndProjectKeyManager issueAndProjectKeyManager)
{
    this.permissionManager = checkNotNull(permissionManager);
    this.repositoryService = checkNotNull(repositoryService);
    this.activityDao = checkNotNull(activityDao);
    this.issueActionFactory = checkNotNull(issueActionFactory);
    this.templateRenderer = checkNotNull(templateRenderer);
    this.issueAndProjectKeyManager = checkNotNull(issueAndProjectKeyManager);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:DvcsActivityTabPanel.java


示例14: PanelVisibilityManager

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
@SuppressWarnings("SpringJavaAutowiringInspection")
public PanelVisibilityManager(@ComponentImport PermissionManager permissionManager,
        @ComponentImport PluginAccessor pluginAccessor,
        @ComponentImport FeatureManager featureManager)
{
    this.permissionManager = checkNotNull(permissionManager);
    this.pluginAccessor = checkNotNull(pluginAccessor);
    this.featureManager = checkNotNull(featureManager);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:11,代码来源:PanelVisibilityManager.java


示例15: IssueAndProjectKeyManagerImpl

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
@SuppressWarnings("SpringJavaAutowiringInspection")
public IssueAndProjectKeyManagerImpl(@ComponentImport final IssueManager issueManager,
        @ComponentImport final ChangeHistoryManager changeHistoryManager,
        @ComponentImport final ProjectManager projectManager,
        @ComponentImport final PermissionManager permissionManager,
        @ComponentImport final JiraAuthenticationContext authenticationContext)
{
    this.issueManager = checkNotNull(issueManager);
    this.changeHistoryManager = checkNotNull(changeHistoryManager);
    this.projectManager = checkNotNull(projectManager);
    this.permissionManager = checkNotNull(permissionManager);
    this.authenticationContext = checkNotNull(authenticationContext);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:15,代码来源:IssueAndProjectKeyManagerImpl.java


示例16: TransitionHandler

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
@SuppressWarnings("SpringJavaAutowiringInspection")
public TransitionHandler(@ComponentImport IssueService issueService,
        @ComponentImport WorkflowManager workflowManager,
        @ComponentImport JiraAuthenticationContext jiraAuthenticationContext)
{
    this.issueService = checkNotNull(issueService);
    this.workflowManager = checkNotNull(workflowManager);
    this.jiraAuthenticationContext = checkNotNull(jiraAuthenticationContext);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:11,代码来源:TransitionHandler.java


示例17: BitbucketAccountsConfigService

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public BitbucketAccountsConfigService(AccountsConfigProvider configProvider, OrganizationService organizationService,
        BitbucketAccountsReloadJobScheduler bitbucketAccountsReloadJob,
        @ComponentImport PluginController pluginController, @ComponentImport PluginAccessor pluginAccessor)
{
    this.configProvider = configProvider;
    this.organizationService = organizationService;
    this.bitbucketAccountsReloadJob = bitbucketAccountsReloadJob;
    this.pluginController = checkNotNull(pluginController);
    this.pluginAccessor = checkNotNull(pluginAccessor);
    this.executorService = Executors.newFixedThreadPool(1, ThreadFactories.namedThreadFactory("DVCSConnector.BitbucketAccountsConfigService"));
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:BitbucketAccountsConfigService.java


示例18: CachingOrganizationDaoImpl

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public CachingOrganizationDaoImpl(@ComponentImport final CacheManager cacheManager)
{
    organizationsCache = cacheManager.getCachedReference(getClass().getName() + ".organizationsCache", new Supplier<List<Organization>>()
    {
        @Override
        public List<Organization> get()
        {
            return organizationAOFacade.fetch();
        }
    }, CACHE_SETTINGS);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:CachingOrganizationDaoImpl.java


示例19: SyncAuditLogDaoImpl

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public SyncAuditLogDaoImpl(@ComponentImport ActiveObjects ao, @ComponentImport EventPublisher publisher)
{
    super();
    this.ao = checkNotNull(ao);
    this.eventPublisher = checkNotNull(publisher);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:8,代码来源:SyncAuditLogDaoImpl.java


示例20: ChangesetDaoImpl

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public ChangesetDaoImpl(@ComponentImport ActiveObjects activeObjects, QueryHelper queryHelper)
{
    this.activeObjects = checkNotNull(activeObjects);
    this.queryHelper = checkNotNull(queryHelper);
    this.transformer = new ChangesetTransformer(this);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:8,代码来源:ChangesetDaoImpl.java



注:本文中的com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java XMLSave类代码示例发布时间:2022-05-22
下一篇:
Java JcePBEDataDecryptorFactoryBuilder类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap