org.mule.config.spring.parsers.specific.endpoint
Class EndpointRefParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser
org.mule.config.spring.parsers.AbstractHierarchicalDefinitionParser
org.mule.config.spring.parsers.generic.ParentDefinitionParser
org.mule.config.spring.parsers.specific.endpoint.EndpointRefParser
- All Implemented Interfaces:
- MuleDefinitionParser, MuleDefinitionParserConfiguration, org.springframework.beans.factory.xml.BeanDefinitionParser
public class EndpointRefParser
- extends ParentDefinitionParser
Configures a reference to an endpoint on a parent bean. This is typically used in configuration
where a reference to the actual endpoint is not wanted (i.e. Reply-To endpoints should be set as a string
on a message).
Note that endpoint Reference elements should always have an 'address' and 'ref' attributes available. These
are mutually exclusive.
Any other attributes on the element processed by this parser will also be set on the parent object.
Fields inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser |
ATTRIBUTE_CLASS, ATTRIBUTE_ID, ATTRIBUTE_NAME, ATTRIBUTE_REF, ATTRIBUTE_REF_SUFFIX, ATTRIBUTE_REFS, ATTRIBUTE_REFS_SUFFIX, beanPropertyConfiguration, logger, ROOT_ELEMENT, singleton |
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
ID_ATTRIBUTE, NAME_ATTRIBUTE |
Method Summary |
protected void |
preProcess(Element element)
Hook method that derived classes can implement to modify internal state before processing. |
Methods inherited from class org.mule.config.spring.parsers.AbstractMuleBeanDefinitionParser |
addAlias, addBeanFlag, addCollection, addIgnored, addMapping, addMapping, addMapping, addReference, checkElementNameUnique, createBeanDefinitionBuilder, doParse, getBeanAssemblerFactory, getBeanClassFromAttribute, getBeanName, getClassConstraint, getClassInternal, getParserContext, getRegistry, isAllowClassAttribute, isSingleton, isTopLevel, muleParse, processProperty, registerPostProcessor, registerPreProcessor, removeIgnored, resolveId, setAllowClassAttribute, setBeanAssemblerFactory, setClassConstraint, setDeprecationWarning, setIgnoredDefault, setParserContext, setRegistry |
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.beans.factory.xml.BeanDefinitionParser |
parse |
EndpointRefParser
public EndpointRefParser(String propertyName)
preProcess
protected void preProcess(Element element)
- Description copied from class:
AbstractMuleBeanDefinitionParser
- Hook method that derived classes can implement to modify internal state before processing.
Here we make sure that the internal property configuration state is reset to the
initial configuration for each element (it may be modified by the BeanAssembler)
and that other mutable instance variables are cleared.
- Overrides:
preProcess
in class AbstractHierarchicalDefinitionParser
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.