public class CommonBeanDefinitionCreator extends Object
ComponentBuildingDefinition.| Constructor and Description |
|---|
CommonBeanDefinitionCreator(ObjectFactoryClassRepository objectFactoryClassRepository) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areMatchingTypes(Class<?> superType,
Class<?> childType) |
protected org.springframework.beans.factory.config.BeanDefinition |
getConvertibleBeanDefinition(Class<?> type,
Object value,
Optional<TypeConverter> converter) |
static List<org.mule.runtime.api.util.Pair<String,Object>> |
getPropertyValueFromPropertiesComponent(ComponentModel propertyComponentModel) |
boolean |
handleRequest(CreateBeanDefinitionRequest request)
Instances of
BeanDefinitionCreator that will be responsible to create the BeanDefinition must return true to
this call, otherwise they must do nothing. |
void |
processRequest(CreateBeanDefinitionRequest request)
Will iterate over the chain of processors until there's one that handle the request by return true to
#handleRequest. |
void |
setNext(org.mule.runtime.config.spring.internal.dsl.spring.BeanDefinitionCreator nextBeanDefinitionCreator) |
public CommonBeanDefinitionCreator(ObjectFactoryClassRepository objectFactoryClassRepository)
public boolean handleRequest(CreateBeanDefinitionRequest request)
BeanDefinitionCreator that will be responsible to create the BeanDefinition must return true to
this call, otherwise they must do nothing.request - the creation request.BeanDefinition, false otherwise.public static List<org.mule.runtime.api.util.Pair<String,Object>> getPropertyValueFromPropertiesComponent(ComponentModel propertyComponentModel)
public void setNext(org.mule.runtime.config.spring.internal.dsl.spring.BeanDefinitionCreator nextBeanDefinitionCreator)
nextBeanDefinitionCreator - next processor in the chain.public final void processRequest(CreateBeanDefinitionRequest request)
#handleRequest.request - protected org.springframework.beans.factory.config.BeanDefinition getConvertibleBeanDefinition(Class<?> type, Object value, Optional<TypeConverter> converter)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.