@Configuration
public class AgentAutoConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
AgentAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AgentMetadataImpl |
agentMetadata()
Provide a lazy bean definition for
AgentMetadata if none already exists. |
FileLockFactory |
fileLockFactory()
Provide a lazy
FileLockFactory. |
org.springframework.scheduling.TaskScheduler |
heartBeatServiceTaskScheduler()
Provide a lazy
TaskScheduler bean for use by the heart beat service is none has already been
defined in the context. |
org.springframework.core.task.AsyncTaskExecutor |
sharedAgentTaskExecutor()
Get a lazy
AsyncTaskExecutor bean which may be shared by different components if one isn't already
defined. |
org.springframework.scheduling.TaskScheduler |
sharedAgentTaskScheduler()
Provide a lazy
TaskScheduler to be used by the Agent process if one isn't already defined. |
@Bean @Lazy @ConditionalOnMissingBean(value=AgentMetadata.class) public AgentMetadataImpl agentMetadata()
AgentMetadata if none already exists.AgentMetadataImpl instance@Bean @Lazy public FileLockFactory fileLockFactory()
FileLockFactory.FileLockFactory instance@Bean
@Lazy
@ConditionalOnMissingBean(name="sharedAgentTaskExecutor",
value=org.springframework.core.task.AsyncTaskExecutor.class)
public org.springframework.core.task.AsyncTaskExecutor sharedAgentTaskExecutor()
AsyncTaskExecutor bean which may be shared by different components if one isn't already
defined.ThreadPoolTaskExecutor instance@Bean @Lazy @ConditionalOnMissingBean(name="sharedAgentTaskScheduler") public org.springframework.scheduling.TaskScheduler sharedAgentTaskScheduler()
TaskScheduler to be used by the Agent process if one isn't already defined.ThreadPoolTaskScheduler instance@Bean @Lazy @ConditionalOnMissingBean(name="heartBeatServiceTaskScheduler") public org.springframework.scheduling.TaskScheduler heartBeatServiceTaskScheduler()
TaskScheduler bean for use by the heart beat service is none has already been
defined in the context.TaskScheduler that the heart beat service should use