org.abstracthorizon.extend.support.spring.deployment
Class ApplicationContextModuleXmlParser
java.lang.Object
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
org.abstracthorizon.extend.support.spring.deployment.ApplicationContextModuleXmlParser
- All Implemented Interfaces:
- BeanDefinitionDocumentReader
- Direct Known Subclasses:
- JettyWarModuleXmlParser, ServiceApplicationContextModuleXmlParser, TomcatWarModuleXmlParser
public class ApplicationContextModuleXmlParser
- extends DefaultBeanDefinitionDocumentReader
This is xml parser that handles <depends-on> tag.
- Author:
- Daniel Sendula
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEPENDS_ON_TAG
public static final String DEPENDS_ON_TAG
- See Also:
- Constant Field Values
context
protected AbstractApplicationContextModule context
- Context this parser is created for
ApplicationContextModuleXmlParser
public ApplicationContextModuleXmlParser()
- Empty constructor
preProcessXml
protected void preProcessXml(Element root)
throws BeanDefinitionStoreException
- This method extracts <depends-on> tags and calls modules
AbstractApplicationContextModule.processDependencies(List)
method with all
tags (if any).
- Overrides:
preProcessXml
in class DefaultBeanDefinitionDocumentReader
- Parameters:
root
- root
- Throws:
BeanDefinitionStoreException
getValue
protected String getValue(Node node)
- Extracts value from node
- Parameters:
node
- text node
- Returns:
- string value
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.