org.springframework.flex.config.xml
Class RemotingDestinationBeanDefinitionParser
java.lang.Object
org.springframework.flex.config.xml.RemotingDestinationBeanDefinitionParser
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionParser
public class RemotingDestinationBeanDefinitionParser
- extends java.lang.Object
- implements org.springframework.beans.factory.xml.BeanDefinitionParser
Configures a RemotingDestinationExporter
from a top-level remote-service
tag.
- Author:
- Jeremy Grelle
Method Summary |
org.springframework.beans.factory.config.BeanDefinition |
parse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
|
protected org.springframework.beans.factory.config.BeanDefinitionHolder |
parseInternal(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
java.lang.String exportedBeanReference)
The main parsing algorithm for the remoting-destination tag. |
protected void |
validateRemotingDestination(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Hook for subclasses to perform contextual validation on the element being parsed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REMOTING_DESTINATION_EXPORTER_CLASS_NAME
protected static final java.lang.String REMOTING_DESTINATION_EXPORTER_CLASS_NAME
- See Also:
- Constant Field Values
REF_ATTR
protected static final java.lang.String REF_ATTR
- See Also:
- Constant Field Values
RemotingDestinationBeanDefinitionParser
public RemotingDestinationBeanDefinitionParser()
parse
public org.springframework.beans.factory.config.BeanDefinition parse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
-
- Specified by:
parse
in interface org.springframework.beans.factory.xml.BeanDefinitionParser
validateRemotingDestination
protected void validateRemotingDestination(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
- Hook for subclasses to perform contextual validation on the element being parsed.
- Parameters:
element
- the element being parsedparserContext
- the current parser context
parseInternal
protected org.springframework.beans.factory.config.BeanDefinitionHolder parseInternal(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
java.lang.String exportedBeanReference)
- The main parsing algorithm for the
remoting-destination
tag.
- Parameters:
element
- the element being parsedparserContext
- the current parser contextexportedBeanReference
- reference to the bean being exported as a remoting destination
- Returns:
- a bean definition holder for the
RemotingDestinationExporter
bean