Spring BlazeDS Integration

org.springframework.flex.config.xml
Class RemotingDestinationBeanDefinitionParser

java.lang.Object
  extended by org.springframework.flex.config.xml.RemotingDestinationBeanDefinitionParser
All Implemented Interfaces:
BeanDefinitionParser

public class RemotingDestinationBeanDefinitionParser
extends Object
implements BeanDefinitionParser

Configures a RemotingDestinationExporter from a top-level remote-service tag.

Author:
Jeremy Grelle

Field Summary
protected static String REF_ATTR
           
protected static String REMOTING_DESTINATION_EXPORTER_CLASS_NAME
           
 
Constructor Summary
RemotingDestinationBeanDefinitionParser()
           
 
Method Summary
 BeanDefinition parse(Element element, ParserContext parserContext)
          
protected  BeanDefinitionHolder parseInternal(Element element, ParserContext parserContext, String exportedBeanReference)
          The main parsing algorithm for the remoting-destination tag.
protected  void validateRemotingDestination(Element element, 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 String REMOTING_DESTINATION_EXPORTER_CLASS_NAME
See Also:
Constant Field Values

REF_ATTR

protected static final String REF_ATTR
See Also:
Constant Field Values
Constructor Detail

RemotingDestinationBeanDefinitionParser

public RemotingDestinationBeanDefinitionParser()
Method Detail

parse

public BeanDefinition parse(Element element,
                            ParserContext parserContext)

Specified by:
parse in interface BeanDefinitionParser

validateRemotingDestination

protected void validateRemotingDestination(Element element,
                                           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 BeanDefinitionHolder parseInternal(Element element,
                                             ParserContext parserContext,
                                             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

Spring BlazeDS Integration

Copyright © 2011. All Rights Reserved.