@Configuration(proxyBeanMethods=false) @ConditionalOnMissingBean(value=FunctionCatalog.class) @EnableConfigurationProperties(value=FunctionProperties.class) public class ContextFunctionCatalogAutoConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContextFunctionCatalogAutoConfiguration.JsonMapperConfiguration |
protected static class |
ContextFunctionCatalogAutoConfiguration.PlainFunctionScanConfiguration |
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_MAPPER_PROPERTY
The name of the property to specify desired JSON mapper.
|
| Constructor and Description |
|---|
ContextFunctionCatalogAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.messaging.converter.MessageConverter |
cloudEventMessageConverter() |
FunctionRegistry |
functionCatalog(List<org.springframework.messaging.converter.MessageConverter> messageConverters,
JsonMapper jsonMapper,
org.springframework.context.ConfigurableApplicationContext context,
FunctionInvocationHelper<org.springframework.messaging.Message<?>> functionInvocationHelper) |
public static final String JSON_MAPPER_PROPERTY
public ContextFunctionCatalogAutoConfiguration()
@Bean public FunctionRegistry functionCatalog(List<org.springframework.messaging.converter.MessageConverter> messageConverters, JsonMapper jsonMapper, org.springframework.context.ConfigurableApplicationContext context, @Nullable FunctionInvocationHelper<org.springframework.messaging.Message<?>> functionInvocationHelper)
@Bean @ConditionalOnMissingBean @ConditionalOnClass(name="io.cloudevents.spring.messaging.CloudEventMessageConverter") public org.springframework.messaging.converter.MessageConverter cloudEventMessageConverter()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.