org.springframework.flex.config.xml
Class RemotingDestinationBeanDefinitionDecorator

java.lang.Object
  extended by org.springframework.flex.config.xml.RemotingDestinationBeanDefinitionDecorator
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionDecorator

public class RemotingDestinationBeanDefinitionDecorator
extends java.lang.Object
implements org.springframework.beans.factory.xml.BeanDefinitionDecorator

Configures a RemotingDestinationExporter from a nested remote-service tag.

Author:
Jeremy Grelle

Field Summary
protected static java.lang.String REF_ATTR
           
protected static java.lang.String REMOTING_DESTINATION_EXPORTER_CLASS_NAME
           
 
Constructor Summary
RemotingDestinationBeanDefinitionDecorator()
           
 
Method Summary
 org.springframework.beans.factory.config.BeanDefinitionHolder decorate(org.w3c.dom.Node node, org.springframework.beans.factory.config.BeanDefinitionHolder definition, 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
 

Field Detail

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
Constructor Detail

RemotingDestinationBeanDefinitionDecorator

public RemotingDestinationBeanDefinitionDecorator()
Method Detail

decorate

public org.springframework.beans.factory.config.BeanDefinitionHolder decorate(org.w3c.dom.Node node,
                                                                              org.springframework.beans.factory.config.BeanDefinitionHolder definition,
                                                                              org.springframework.beans.factory.xml.ParserContext parserContext)

Specified by:
decorate in interface org.springframework.beans.factory.xml.BeanDefinitionDecorator

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 parsed
parserContext - 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 parsed
parserContext - the current parser context
exportedBeanReference - reference to the bean being exported as a remoting destination
Returns:
a bean definition holder for the RemotingDestinationExporter bean