public interface GlobalElementBeanDefinitionParserResolver
org.mule.devkit.generation.spring.beans.AbstractBeanDefinitionParsersGenerator#generateConfigBeanDefinitionParserFor(Module, GlobalElementBeanDefinitionParserResolver)
.Modifier and Type | Method and Description |
---|---|
void |
generatePostBeanDefinition(GeneratedMethod parseMethod,
GeneratedVariable elementParam,
GeneratedVariable parserContextParam,
GeneratedVariable builder,
GeneratedVariable definition) |
void |
generatePostBuilder(Module module,
GeneratedClass moduleObject,
GeneratedMethod parseMethod,
GeneratedVariable elementParam,
GeneratedVariable parserContextParam,
GeneratedVariable builder)
This method will be called to fill the
builder parameter with the concrete values of the concrete
implementation, that will vary for each custom scenario. |
GeneratedExpression |
getClassForBeanDefinitionBuilder(Module module,
GeneratedClass moduleObject) |
String |
getConfigElementName(Module module) |
GeneratedClass |
resolveConfigBeanDefinitionParserClass(Module module) |
GeneratedClass |
resolveModuleObject(Module module)
Returns the module object that represents the bean object that the bean definition parser is going to use.
|
String getConfigElementName(Module module)
module
- GeneratedClass resolveModuleObject(Module module)
resolveConfigBeanDefinitionParserClass(Module)
.module
- the module to work withGeneratedClass resolveConfigBeanDefinitionParserClass(Module module)
module
- the module to work withgetConfigElementName(Module)
.void generatePostBuilder(Module module, GeneratedClass moduleObject, GeneratedMethod parseMethod, GeneratedVariable elementParam, GeneratedVariable parserContextParam, GeneratedVariable builder)
builder
parameter with the concrete values of the concrete
implementation, that will vary for each custom scenario.module
- the module to work withmoduleObject
- the element generated by the resolveModuleObject(Module)
parseMethod
- body of the generated method BeanDefinitionParser.parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
elementParam
- element parameter of the generated method BeanDefinitionParser.parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
parserContextParam
- parserContext parameter of the generated method BeanDefinitionParser.parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
builder
- concrete BeanDefinitionBuilder
to work with (e.g.: filling the values into the definition element)void generatePostBeanDefinition(GeneratedMethod parseMethod, GeneratedVariable elementParam, GeneratedVariable parserContextParam, GeneratedVariable builder, GeneratedVariable definition)
parseMethod
- body of the generated method BeanDefinitionParser.parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
elementParam
- element parameter of the generated method BeanDefinitionParser.parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
parserContextParam
- parserContext parameter of the generated method BeanDefinitionParser.parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext)
builder
- concrete BeanDefinitionBuilder
to work with (e.g.: filling the values into the definition element)definition
- concrete BeanDefinition
to work withGeneratedExpression getClassForBeanDefinitionBuilder(Module module, GeneratedClass moduleObject)
module
- the module to work withmoduleObject
- the element generated by the resolveModuleObject(Module)
ClassNotFoundException
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.