Class SimpleFunctionRegistry

    • Field Detail

      • logger

        protected org.apache.commons.logging.Log logger
    • Constructor Detail

      • SimpleFunctionRegistry

        public SimpleFunctionRegistry​(org.springframework.core.convert.ConversionService conversionService,
                                      org.springframework.messaging.converter.CompositeMessageConverter messageConverter,
                                      JsonMapper jsonMapper,
                                      @Nullable
                                      FunctionProperties functionProperties,
                                      @Nullable
                                      FunctionInvocationHelper<org.springframework.messaging.Message<?>> functionInvocationHelper)
      • SimpleFunctionRegistry

        public SimpleFunctionRegistry​(org.springframework.core.convert.ConversionService conversionService,
                                      org.springframework.messaging.converter.CompositeMessageConverter messageConverter,
                                      JsonMapper jsonMapper)
    • Method Detail

      • addMessageConverters

        public void addMessageConverters​(Collection<org.springframework.messaging.converter.MessageConverter> messageConverters)
        Will add provided MessageConverters to the head of the stack of the existing MessageConverters.
        Parameters:
        messageConverters - list of MessageConverters.
      • size

        public int size()
        Description copied from interface: FunctionCatalog
        Return the count of functions registered in this catalog.
        Specified by:
        size in interface FunctionCatalog
        Returns:
        the count of functions registered in this catalog
      • containsFunction

        protected boolean containsFunction​(String functionName)