Package com.atlassian.confluence.setup
Class ConfluenceAppConfig
- java.lang.Object
-
- com.atlassian.confluence.setup.ConfluenceAppConfig
-
- All Implemented Interfaces:
org.springframework.scheduling.annotation.SchedulingConfigurer
@Configuration @EnableScheduling @ImportResource(locations={"classpath:/databaseSubsystemContext.xml","classpath:/services/cacheServiceContext.xml","classpath:/services/clusterServiceContext.xml","classpath:/services/bandanaServiceContext.xml","classpath:/services/eventServiceContext.xml","classpath:/services/pluginServiceContext.xml","classpath:/services/macroServiceContext.xml","classpath:/services/webResourceServiceContext.xml","classpath:/services/taskQueueServiceContext.xml","classpath:/services/permissionsServiceContext.xml","classpath:/services/adminServiceContext.xml","classpath:/applicationContextPluginProvided.xml","classpath:/systemContext.xml","classpath:/applicationContext.xml","classpath:/autoProxyContext.xml","classpath:/auditSubsystemContext.xml","classpath:/i18NContext.xml","classpath:/securityContext.xml","classpath:/productionDatabaseContext.xml","classpath:/productionHealthCheckContext.xml","classpath:/indexingSubsystemContext.xml","classpath:/searchSubsystemContext.xml","classpath:/contentNameSearchSubsystemContext.xml","classpath:/rpcSubsystemContext.xml","classpath:/upgradeSubsystemContext.xml","classpath:/upgradeTasksContext.xml","classpath:/wikiSubsystemContext.xml","classpath:/renderingContext.xml","classpath:/productionRenderingContext.xml","classpath:/wikiFiltersSubsystemContext.xml","classpath:/velocityContext.xml","classpath:/importExportSubsystemContext.xml","classpath:/journalServiceContext.xml","classpath:/schedulingSubsystemContext.xml","classpath:/schedulingSubsystemManagedContext.xml","classpath:/schedulingSubsystemUnmanagedContext.xml","classpath:/atlassianUserContext.xml","classpath:/importedEmbeddedCrowdContext.xml","classpath:/embeddedCrowdContext.xml","classpath:/attachmentSubsystemContext.xml","classpath:/services/baseServiceContext.xml","classpath:/services/contentServiceContext.xml","classpath:/services/accessServiceContext.xml","classpath:/services/userServiceContext.xml","classpath:/services/auditServiceContext.xml","classpath:/services/statusServiceContext.xml","classpath:/services/labelServiceContext.xml","classpath:/services/api/implementationContextPluginProvided.xml","classpath:/services/api/implementationContext.xml","classpath:/jmxContext.xml","classpath*:/cacheProviderContext.xml","classpath:/contentMigrationContext.xml","classpath:/heartbeatContext.xml","classpath*:/monitoringContext.xml","classpath:/ipdContext.xml","classpath:/profilingContext.xml","classpath:/services/sandboxServiceContext.xml","classpath:/services/featureFlagServiceContext.xml","classpath:/services/mailServiceContext.xml","classpath:/services/oauth2ServiceContext.xml","classpath:/services/linkServiceContext.xml","classpath:/services/relationServiceContext.xml","classpath:/services/downloadStrategyServiceContext.xml","classpath:/services/appLinksServiceContext.xml","classpath:/services/synchronyServiceContext.xml","classpath:/services/loggingConfigServiceContext.xml","classpath:/services/tenancyServiceContext.xml","classpath:/services/licenseServiceMainContext.xml","classpath:/retentionServiceContext.xml","classpath:/settingsContext.xml","classpath:/productionOsgiContext.xml","classpath:/productionPluginLoadersContext.xml"}) @Import(FileStoreContextConfig.class) public class ConfluenceAppConfig extends Object implements org.springframework.scheduling.annotation.SchedulingConfigurer
Configures the beans of the production spring application context.- Since:
- 5.10
- See Also:
BootstrapAppConfig
,SetupAppConfig
-
-
Field Summary
Fields Modifier and Type Field Description static int
SCHEDULER_POOL_SIZE
How many threads can process scheduled tasks in parallel.
-
Constructor Summary
Constructors Constructor Description ConfluenceAppConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
ExecutorService
schedulingTaskExecutor()
-
-
-
Method Detail
-
configureTasks
public void configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
- Specified by:
configureTasks
in interfaceorg.springframework.scheduling.annotation.SchedulingConfigurer
-
schedulingTaskExecutor
@Bean(destroyMethod="shutdownNow") public ExecutorService schedulingTaskExecutor()
-
-