Class AbstractSpringFunctionAdapterInitializer<C>
java.lang.Object
org.springframework.cloud.function.context.AbstractSpringFunctionAdapterInitializer<C>
- Type Parameters:
C
- the type of the target specific (native) context object.
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
AzureSpringBootRequestHandler
,FunctionInvoker
,SpringBootRequestHandler
,SpringBootStreamHandler
@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 Summary
FieldsModifier and TypeFieldDescriptionprotected FunctionCatalog
Deprecated.protected JsonMapper
Deprecated.static final String
Deprecated.Name of the bean for registering the target execution context passed to `initialize(context)` operation. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.AbstractSpringFunctionAdapterInitializer
(Class<?> configurationClass) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.reactivestreams.Publisher<?>
apply
(org.reactivestreams.Publisher<?> input) Deprecated.protected void
Deprecated.void
close()
Deprecated.protected Object
convertOutput
(Object input, Object output) Deprecated.protected String
doResolveName
(Object targetContext) Deprecated.Allows you to resolve function name for cases where it could not be located under default name.protected Object
function()
Deprecated.org.springframework.context.ConfigurableApplicationContext
Deprecated.protected Function<org.reactivestreams.Publisher<?>,
org.reactivestreams.Publisher<?>> Deprecated.protected Class<?>
Deprecated.protected void
initialize
(C targetContext) Deprecated.protected <O> O
Deprecated.
-
Field Details
-
TARGET_EXECUTION_CTX_NAME
Deprecated.Name of the bean for registering the target execution context passed to `initialize(context)` operation.- See Also:
-
catalog
Deprecated. -
jsonMapper
Deprecated.
-
-
Constructor Details
-
AbstractSpringFunctionAdapterInitializer
Deprecated. -
AbstractSpringFunctionAdapterInitializer
public AbstractSpringFunctionAdapterInitializer()Deprecated.
-
-
Method Details
-
getContext
public org.springframework.context.ConfigurableApplicationContext getContext()Deprecated. -
close
public void close()Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
initialize
Deprecated. -
getInputType
Deprecated. -
getFunction
Deprecated. -
function
Deprecated. -
apply
protected org.reactivestreams.Publisher<?> apply(org.reactivestreams.Publisher<?> input) Deprecated. -
doResolveName
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
Deprecated. -
result
Deprecated. -
clear
Deprecated.
-