Class AbstractSpringFunctionAdapterInitializer<C>

  • Type Parameters:
    C - the type of the target specific (native) context object.
    All Implemented Interfaces:
    Closeable, AutoCloseable

    @Deprecated
    public abstract class AbstractSpringFunctionAdapterInitializer<C>
    extends Object
    implements Closeable
    Deprecated.
    since 3.1 in favor of individual implementations of invokers
    Base implementation for adapter initializers and request handlers.
    Since:
    2.1
    Author:
    Oleg Zhurakousky
    • Field Detail

      • TARGET_EXECUTION_CTX_NAME

        public static final String TARGET_EXECUTION_CTX_NAME
        Deprecated.
        Name of the bean for registering the target execution context passed to `initialize(context)` operation.
        See Also:
        Constant Field Values
      • catalog

        @Autowired(required=false)
        protected FunctionCatalog catalog
        Deprecated.
      • jsonMapper

        @Autowired(required=false)
        protected JsonMapper jsonMapper
        Deprecated.
    • Constructor Detail

      • AbstractSpringFunctionAdapterInitializer

        public AbstractSpringFunctionAdapterInitializer​(Class<?> configurationClass)
        Deprecated.
      • AbstractSpringFunctionAdapterInitializer

        public AbstractSpringFunctionAdapterInitializer()
        Deprecated.
    • Method Detail

      • getContext

        public org.springframework.context.ConfigurableApplicationContext getContext()
        Deprecated.
      • initialize

        protected void initialize​(C targetContext)
        Deprecated.
      • getInputType

        protected Class<?> getInputType()
        Deprecated.
      • getFunction

        protected Function<org.reactivestreams.Publisher<?>,​org.reactivestreams.Publisher<?>> getFunction()
        Deprecated.
      • function

        protected Object function()
        Deprecated.
      • apply

        protected org.reactivestreams.Publisher<?> apply​(org.reactivestreams.Publisher<?> input)
        Deprecated.
      • doResolveName

        protected String doResolveName​(Object targetContext)
        Deprecated.
        Allows you to resolve function name for cases where it could not be located under default name. Default implementation returns empty string.
        Parameters:
        targetContext - the target context instance
        Returns:
        the name of the function
      • convertOutput

        protected Object convertOutput​(Object input,
                                       Object output)
        Deprecated.
      • result

        protected <O> O result​(Object input,
                               org.reactivestreams.Publisher<?> output)
        Deprecated.
      • clear

        protected void clear​(String name)
        Deprecated.