Package org.saidone
Class AlfrescoNodeProcessorConfiguration
java.lang.Object
org.saidone.component.BaseComponent
org.saidone.AlfrescoNodeProcessorConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
Spring configuration that defines common beans used by the application such
as the queue and the lists of asynchronous tasks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHolder for asynchronous collector tasks.Holder for asynchronous processor tasks.com.fasterxml.jackson.databind.ObjectMapperJackson ObjectMapper for JSON serialization and deserialization.Counter of processed nodes shared across processors.queue()Queue used to pass node identifiers between collectors and processors.Methods inherited from class org.saidone.component.BaseComponent
setApplicationContext, shutDown, start, stop
-
Constructor Details
-
AlfrescoNodeProcessorConfiguration
public AlfrescoNodeProcessorConfiguration()
-
-
Method Details
-
queue
Queue used to pass node identifiers between collectors and processors. -
nodeCollectors
Holder for asynchronous collector tasks. -
nodeProcessors
Holder for asynchronous processor tasks. -
processedNodesCounter
Counter of processed nodes shared across processors. -
objectMapper
@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()Jackson ObjectMapper for JSON serialization and deserialization.
-