org.abstracthorizon.extend.support.spring.service
Class ServiceApplicationContextModuleXmlParser
java.lang.Object
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
org.abstracthorizon.extend.support.spring.deployment.ApplicationContextModuleXmlParser
org.abstracthorizon.extend.support.spring.service.ServiceApplicationContextModuleXmlParser
- All Implemented Interfaces:
- BeanDefinitionDocumentReader
- Direct Known Subclasses:
- DanubeWarModuleXmlParser
public class ServiceApplicationContextModuleXmlParser
- extends ApplicationContextModuleXmlParser
This is xml parser that handles <service> tag.
- Author:
- Daniel Sendula
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BEAN_TAG
public static final String BEAN_TAG
- See Also:
- Constant Field Values
SERVICE_TAG
public static final String SERVICE_TAG
- See Also:
- Constant Field Values
NAME_ATTRIBUTE
public static final String NAME_ATTRIBUTE
- See Also:
- Constant Field Values
ID_ATTRIBUTE
public static final String ID_ATTRIBUTE
- See Also:
- Constant Field Values
CREATE_METHOD_TAG
public static final String CREATE_METHOD_TAG
- See Also:
- Constant Field Values
START_METHOD_TAG
public static final String START_METHOD_TAG
- See Also:
- Constant Field Values
STOP_METHOD_TAG
public static final String STOP_METHOD_TAG
- See Also:
- Constant Field Values
DESTROY_METHOD_TAG
public static final String DESTROY_METHOD_TAG
- See Also:
- Constant Field Values
ServiceApplicationContextModuleXmlParser
public ServiceApplicationContextModuleXmlParser()
- Empty constructor
preProcessXml
protected void preProcessXml(Element root)
throws BeanDefinitionStoreException
- This method processes all tags in search for <service> tag.
- Overrides:
preProcessXml
in class ApplicationContextModuleXmlParser
- Parameters:
root
- root element of DOM parsed XML.
- Throws:
BeanDefinitionStoreException
inspectNode
protected void inspectNode(ServiceApplicationContextModule context,
Node node)
- This method checks given node if <service> tag is present.
- Parameters:
context
- service modulenode
- node to be checked
processNode
protected void processNode(ServiceApplicationContextModule context,
Node node,
String name)
- Processes <service> tag node.
- Parameters:
context
- service modulenode
- service tag nodename
- name of the bean containing service tag
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.