org.apache.camel.component.spring.integration.adapter.config
Class AbstractCamelContextBeanDefinitionParaser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by org.apache.camel.component.spring.integration.adapter.config.AbstractCamelContextBeanDefinitionParaser
All Implemented Interfaces:
BeanDefinitionParser
Direct Known Subclasses:
CamelSourceAdpaterParser, CamelTargetAdapterParser

public class AbstractCamelContextBeanDefinitionParaser
extends AbstractSingleBeanDefinitionParser

This BeanDefinition paraser help to inject the camel context into the beans

Version:
$Revision: 15191 $

Field Summary
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
AbstractCamelContextBeanDefinitionParaser()
           
 
Method Summary
protected  void doParse(Element element, ParserContext ctx, BeanDefinitionBuilder bean)
           
protected  void mapToProperty(BeanDefinitionBuilder bean, String propertyName, String val)
           
protected  void parseAttributes(Element element, ParserContext ctx, BeanDefinitionBuilder bean)
           
protected  void parseCamelContext(Element element, ParserContext ctx, BeanDefinitionBuilder bean)
           
protected  void wireCamelContext(BeanDefinitionBuilder bean, String camelContextId)
           
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getBeanClassName, getParentName, parseInternal
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCamelContextBeanDefinitionParaser

public AbstractCamelContextBeanDefinitionParaser()
Method Detail

mapToProperty

protected void mapToProperty(BeanDefinitionBuilder bean,
                             String propertyName,
                             String val)

wireCamelContext

protected void wireCamelContext(BeanDefinitionBuilder bean,
                                String camelContextId)

parseAttributes

protected void parseAttributes(Element element,
                               ParserContext ctx,
                               BeanDefinitionBuilder bean)

parseCamelContext

protected void parseCamelContext(Element element,
                                 ParserContext ctx,
                                 BeanDefinitionBuilder bean)

doParse

protected void doParse(Element element,
                       ParserContext ctx,
                       BeanDefinitionBuilder bean)
Overrides:
doParse in class AbstractSingleBeanDefinitionParser


Apache CAMEL