Class SymbolEnrichmentService
java.lang.Object
com.bluebell.greenhouse.radicle.services.AbstractGenericEntityService<Symbol, SymbolRepository>
com.bluebell.greenhouse.radicle.services.symbol.SymbolEnrichmentService
@Service
public class SymbolEnrichmentService
extends AbstractGenericEntityService<Symbol, SymbolRepository>
Service that enriches an existing symbol through the symbol registry and enrichment strategy.
- Version:
- 3.0.5
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolEnrichmentService(ExchangeRegistryService exchangeRegistryService, ExchangeService exchangeService, SymbolRepository symbolRepository, SymbolEnrichmentStrategy symbolEnrichmentStrategy, SymbolRegistryService symbolRegistryService) Creates a new enrichment service. -
Method Summary
Modifier and TypeMethodDescriptionenrichSymbol(Symbol symbol) Enriches the givenSymbolthrough the registry-first enrichment flow.Methods inherited from class AbstractGenericEntityService
refreshEntity, resolveEntity, resolveEntity, resolveEntity
-
Constructor Details
-
SymbolEnrichmentService
public SymbolEnrichmentService(ExchangeRegistryService exchangeRegistryService, ExchangeService exchangeService, SymbolRepository symbolRepository, SymbolEnrichmentStrategy symbolEnrichmentStrategy, SymbolRegistryService symbolRegistryService) Creates a new enrichment service.- Parameters:
exchangeRegistryService- exchange registry serviceexchangeService- exchange servicesymbolRepository- symbol repositorysymbolEnrichmentStrategy- symbol enrichment strategysymbolRegistryService- symbol registry service
-
-
Method Details
-
enrichSymbol
Enriches the givenSymbolthrough the registry-first enrichment flow.- Parameters:
symbol-Symbol- Returns:
ManualSymbolEnrichmentResponse
-