C
- the type of the target specific (native) context object.@Deprecated public abstract class AbstractSpringFunctionAdapterInitializer<C> extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
protected FunctionCatalog |
catalog
Deprecated.
|
protected JsonMapper |
jsonMapper
Deprecated.
|
static String |
TARGET_EXECUTION_CTX_NAME
Deprecated.
Name of the bean for registering the target execution context passed to `initialize(context)` operation.
|
Constructor and Description |
---|
AbstractSpringFunctionAdapterInitializer()
Deprecated.
|
AbstractSpringFunctionAdapterInitializer(Class<?> configurationClass)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.reactivestreams.Publisher<?> |
apply(org.reactivestreams.Publisher<?> input)
Deprecated.
|
protected void |
clear(String name)
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 |
getContext()
Deprecated.
|
protected Function<org.reactivestreams.Publisher<?>,org.reactivestreams.Publisher<?>> |
getFunction()
Deprecated.
|
protected Class<?> |
getInputType()
Deprecated.
|
protected void |
initialize(C targetContext)
Deprecated.
|
protected <O> O |
result(Object input,
org.reactivestreams.Publisher<?> output)
Deprecated.
|
public static final String TARGET_EXECUTION_CTX_NAME
@Autowired(required=false) protected FunctionCatalog catalog
@Autowired(required=false) protected JsonMapper jsonMapper
public AbstractSpringFunctionAdapterInitializer(Class<?> configurationClass)
public AbstractSpringFunctionAdapterInitializer()
public org.springframework.context.ConfigurableApplicationContext getContext()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
protected void initialize(C targetContext)
protected Class<?> getInputType()
protected Function<org.reactivestreams.Publisher<?>,org.reactivestreams.Publisher<?>> getFunction()
protected Object function()
protected org.reactivestreams.Publisher<?> apply(org.reactivestreams.Publisher<?> input)
protected String doResolveName(Object targetContext)
targetContext
- the target context instanceprotected <O> O result(Object input, org.reactivestreams.Publisher<?> output)
protected void clear(String name)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.