Class StoredProcParserUtils
java.lang.Object
org.springframework.integration.jdbc.config.StoredProcParserUtils
- Since:
- 2.1
- Author:
- Gunnar Hillert, Artem Bilan
-
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedList<BeanDefinition>
getProcedureParameterBeanDefinitions
(Element storedProcComponent, ParserContext parserContext) static ManagedMap<String,
BeanMetadataElement> getReturningResultsetBeanDefinitions
(Element storedProcComponent, ParserContext parserContext) static ManagedList<BeanDefinition>
getSqlParameterDefinitionBeanDefinitions
(Element storedProcComponent, ParserContext parserContext) static BeanDefinitionBuilder
getStoredProcExecutorBuilder
(Element element, ParserContext parserContext) Create a newBeanDefinitionBuilder
for the classStoredProcExecutor
.
-
Method Details
-
getSqlParameterDefinitionBeanDefinitions
public static ManagedList<BeanDefinition> getSqlParameterDefinitionBeanDefinitions(Element storedProcComponent, ParserContext parserContext) - Parameters:
storedProcComponent
- The element.parserContext
- The parser context.- Returns:
- The list of bean definitions.
-
getProcedureParameterBeanDefinitions
public static ManagedList<BeanDefinition> getProcedureParameterBeanDefinitions(Element storedProcComponent, ParserContext parserContext) - Parameters:
storedProcComponent
- The element.parserContext
- The parser context.- Returns:
- The list of bean definitions.
-
getReturningResultsetBeanDefinitions
public static ManagedMap<String,BeanMetadataElement> getReturningResultsetBeanDefinitions(Element storedProcComponent, ParserContext parserContext) - Parameters:
storedProcComponent
- The element.parserContext
- The parser context.- Returns:
- The list of bean metadata objects.
-
getStoredProcExecutorBuilder
public static BeanDefinitionBuilder getStoredProcExecutorBuilder(Element element, ParserContext parserContext) Create a newBeanDefinitionBuilder
for the classStoredProcExecutor
. Initialize the wrappedStoredProcExecutor
with common properties.- Parameters:
element
- Must not be NullparserContext
- Must not be Null- Returns:
- The
BeanDefinitionBuilder
for theStoredProcExecutor
-