Class AbstractFunctionalBindingConfiguration
java.lang.Object
org.activiti.cloud.common.messaging.config.AbstractFunctionalBindingConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
ConnectorConfiguration,FunctionBindingConfiguration,InputBindingConfiguration,OutputBindingConfiguration
public abstract class AbstractFunctionalBindingConfiguration
extends Object
implements org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypediscoverFunctionType(Object bean, String beanName) protected org.springframework.cloud.function.context.catalog.SimpleFunctionRegistry.FunctionInvocationWrapperfunctionFromDefinition(String definition) protected Class<?> getGatewayInterface(boolean hasOutput) static StringgetInBinding(String bindingName) static StringgetInBinding(String bindingName, int arity) protected org.springframework.messaging.converter.CompositeMessageConverterprotected org.springframework.cloud.stream.binding.MessageConverterConfigurerstatic StringgetOutBinding(String bindingName) static StringgetOutBinding(String bindingName, int arity) protected org.springframework.cloud.stream.function.StreamBridgeprotected StringregisterConnectorFlowFunction(org.springframework.integration.dsl.IntegrationFlow connectorFlow, String beanName) protected StringregisterFunctionRegistration(String functionName, org.springframework.cloud.function.context.FunctionRegistration functionRegistration) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
AbstractFunctionalBindingConfiguration
public AbstractFunctionalBindingConfiguration()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getStreamBridge
protected org.springframework.cloud.stream.function.StreamBridge getStreamBridge() -
getOutBinding
-
getOutBinding
-
getInBinding
-
getInBinding
-
getGatewayInterface
-
functionFromDefinition
protected org.springframework.cloud.function.context.catalog.SimpleFunctionRegistry.FunctionInvocationWrapper functionFromDefinition(String definition) -
discoverFunctionType
-
registerFunctionRegistration
-
getMessageConverter
protected org.springframework.messaging.converter.CompositeMessageConverter getMessageConverter() -
getMessageConverterConfigurer
protected org.springframework.cloud.stream.binding.MessageConverterConfigurer getMessageConverterConfigurer() -
registerConnectorFlowFunction
-