org.apache.cxf.configuration.spring
Class AbstractFactoryBeanDefinitionParser

java.lang.Object
  extended by org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
      extended by org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
          extended by org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
              extended by org.apache.cxf.configuration.spring.AbstractFactoryBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
Direct Known Subclasses:
ClientProxyFactoryBeanDefinitionParser, JAXRSClientFactoryBeanDefinitionParser

public abstract class AbstractFactoryBeanDefinitionParser
extends AbstractBeanDefinitionParser

This class makes it easy to create two simultaneous beans - a factory bean and the bean that the factory produces.


Field Summary
 
Fields inherited from class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
WIRE_BUS_ATTRIBUTE
 
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE
 
Constructor Summary
AbstractFactoryBeanDefinitionParser()
           
 
Method Summary
protected  void doParse(org.w3c.dom.Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
           
protected abstract  java.lang.Class getFactoryClass()
           
protected abstract  java.lang.String getFactoryIdSuffix()
           
 
Methods inherited from class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
addBusWiringAttribute, getBeanClass, getBeanClass, getFirstChild, getIdOrName, getJaxbPackage, getSuffix, hasBusProperty, isAttribute, mapAttribute, mapAttribute, mapElement, mapElementToJaxbBean, mapElementToJaxbProperty, mapElementToJaxbProperty, mapElementToJaxbProperty, mapElementToJaxbPropertyFactory, mapToProperty, parseAttributes, parseChildElements, parseQName, resolveId, setBeanClass, setFirstChildAsProperty, unmarshalFactoryString
 
Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
 
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
 

Constructor Detail

AbstractFactoryBeanDefinitionParser

public AbstractFactoryBeanDefinitionParser()
Method Detail

doParse

protected void doParse(org.w3c.dom.Element element,
                       org.springframework.beans.factory.xml.ParserContext ctx,
                       org.springframework.beans.factory.support.BeanDefinitionBuilder bean)
Overrides:
doParse in class AbstractBeanDefinitionParser

getFactoryClass

protected abstract java.lang.Class getFactoryClass()

getFactoryIdSuffix

protected abstract java.lang.String getFactoryIdSuffix()
Returns:
The Spring ID of the factory bean.


Apache CXF