Class RiskPostProcessorConfig


  • @Configuration
    public class RiskPostProcessorConfig
    extends Object
    Configuration of the operations performed after the initialisation of th ActivePivot manager
    • Field Detail

      • LOGGER

        protected static final Logger LOGGER
        Logger
      • env

        @Autowired
        protected org.springframework.core.env.Environment env
        Spring environment, automatically wired
      • apConfig

        @Autowired
        protected com.qfs.server.cfg.impl.ActivePivotConfig apConfig
        ActivePivot spring configuration
      • datastore

        @Autowired
        protected com.qfs.store.IDatastore datastore
      • fxRates

        @Autowired
        protected IFXRates fxRates
      • tenorUtil

        @Autowired
        protected ITenorUtil tenorUtil
      • customListenerInjections

        @Autowired
        @Qualifier("injections")
        protected List<Consumer<com.qfs.store.IDatastore>> customListenerInjections
    • Constructor Detail

      • RiskPostProcessorConfig

        public RiskPostProcessorConfig()
    • Method Detail

      • apManagerInitPrerequisitePluginInjections

        public void apManagerInitPrerequisitePluginInjections()
        Extended plugin injections that are required before doing the startup of the ActivePivot manager.
        Throws:
        com.quartetfs.fwk.QuartetRuntimeException - In case of wrong configuration
      • injectAll

        public static <T,​U,​V> void injectAll​(Class<T> interfaceClass,
                                                         Class<U> awareClass,
                                                         V bean)
        This function will inject a bean to all the kind of selected QFS plugin that accept it, aka. that implements awareClass. The awareClass should comply with the following pattern :
        public interface I[Name]Aware {
        String PROPERTY_NAME = "[Name]";
        void set[Name](I[Name] [name]);
        }
        Type Parameters:
        T - The type of the interfaceClass
        U - The type of the awareClass aka I[Name]Aware
        V - The type of the bean that implements I[Name]
        Parameters:
        interfaceClass - The king of QFS plugin
        awareClass - The acceptance interface of the bean
        bean - The bean to inject
        Throws:
        com.quartetfs.fwk.QuartetRuntimeException - Thrown if the awareClass doesn't comply with the contract.