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 FunctionCatalogDeprecated.protected JsonMapperDeprecated.static final StringDeprecated.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 voidDeprecated.voidclose()Deprecated.protected ObjectconvertOutput(Object input, Object output) Deprecated.protected StringdoResolveName(Object targetContext) Deprecated.Allows you to resolve function name for cases where it could not be located under default name.protected Objectfunction()Deprecated.org.springframework.context.ConfigurableApplicationContextDeprecated.protected Function<org.reactivestreams.Publisher<?>,org.reactivestreams.Publisher<?>> Deprecated.protected Class<?>Deprecated.protected voidinitialize(C targetContext) Deprecated.protected <O> ODeprecated.
-
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:
closein interfaceAutoCloseable- Specified by:
closein 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.
-