public class SpringComponentModel extends Object
ComponentAst to its Spring bean specification.| Constructor and Description |
|---|
SpringComponentModel() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.beans.factory.config.BeanDefinition |
getBeanDefinition() |
org.springframework.beans.factory.config.BeanReference |
getBeanReference() |
org.mule.runtime.ast.api.ComponentAst |
getComponent() |
org.mule.runtime.api.component.ComponentIdentifier |
getComponentIdentifier() |
org.mule.runtime.dsl.api.component.TypeDefinition.MapEntryType |
getMapEntryType() |
org.mule.runtime.api.ioc.ConfigurableObjectProvider |
getObjectInstance() |
<T> Class<T> |
getType() |
void |
setBeanDefinition(org.springframework.beans.factory.config.BeanDefinition beanDefinition) |
void |
setBeanReference(org.springframework.beans.factory.config.BeanReference beanReference) |
void |
setComponent(org.mule.runtime.ast.api.ComponentAst component) |
void |
setComponentIdentifier(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier) |
void |
setMapEntryType(org.mule.runtime.dsl.api.component.TypeDefinition.MapEntryType mapEntryType) |
void |
setObjectInstance(org.mule.runtime.api.ioc.ConfigurableObjectProvider objectInstance)
Setter used for components that should be created eagerly without going through spring.
|
void |
setType(Class<?> type) |
public void setComponentIdentifier(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier)
public org.mule.runtime.api.component.ComponentIdentifier getComponentIdentifier()
public void setComponent(org.mule.runtime.ast.api.ComponentAst component)
public org.mule.runtime.ast.api.ComponentAst getComponent()
public org.mule.runtime.api.ioc.ConfigurableObjectProvider getObjectInstance()
public void setObjectInstance(org.mule.runtime.api.ioc.ConfigurableObjectProvider objectInstance)
ObjectProvider interface that require to be created before the
application components so they can be referenced.objectInstance - the object instance created from this model.public <T> Class<T> getType()
ComponentModel.public void setType(Class<?> type)
type - the type of the object to be created when processing this ComponentModel.public org.mule.runtime.dsl.api.component.TypeDefinition.MapEntryType getMapEntryType()
public void setMapEntryType(org.mule.runtime.dsl.api.component.TypeDefinition.MapEntryType mapEntryType)
public void setBeanDefinition(org.springframework.beans.factory.config.BeanDefinition beanDefinition)
beanDefinition - the BeanDefinition created based on the ComponentModel values.public org.springframework.beans.factory.config.BeanDefinition getBeanDefinition()
BeanDefinition created based on the ComponentModel values.public void setBeanReference(org.springframework.beans.factory.config.BeanReference beanReference)
beanReference - the BeanReference that represents this object.public org.springframework.beans.factory.config.BeanReference getBeanReference()
BeanReference that represents this object.Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.