Class AbstractFactoryBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
org.apache.cxf.configuration.spring.AbstractFactoryBeanDefinitionParser
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
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, WIRE_BUS_CREATE, WIRE_BUS_HANDLER, WIRE_BUS_NAMEFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoParse(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) protected Stringprotected abstract Class<?>protected abstract Stringprotected Class<?>static voidsetFactoriesAreAbstract(boolean b) Methods inherited from class org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser
addBusWiringAttribute, addBusWiringAttribute, getBeanClass, getBeanClass, getFirstChild, getIdOrName, getJaxbPackage, getSuffix, hasBusProperty, isAttribute, mapAttribute, mapAttribute, mapElement, mapElementToJaxbBean, mapElementToJaxbBean, mapElementToJaxbProperty, mapElementToJaxbProperty, mapElementToJaxbProperty, mapElementToJaxbPropertyFactory, mapToProperty, parseAttribute, parseAttributes, parseChildElements, parseQName, processBusAttribute, processNameAttribute, resolveId, setBeanClass, setFirstChildAsProperty, unmarshalFactoryStringMethods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternalMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
AbstractFactoryBeanDefinitionParser
public AbstractFactoryBeanDefinitionParser()
-
-
Method Details
-
setFactoriesAreAbstract
public static void setFactoriesAreAbstract(boolean b) -
getDestroyMethod
-
doParse
protected void doParse(Element element, org.springframework.beans.factory.xml.ParserContext ctx, org.springframework.beans.factory.support.BeanDefinitionBuilder bean) - Overrides:
doParsein classAbstractBeanDefinitionParser
-
getFactoryClass
-
getRawFactoryClass
-
getFactoryIdSuffix
- Returns:
- The Spring ID of the factory bean.
-