org.directwebremoting.spring
Class DwrNamespaceHandler
java.lang.Object
NamespaceHandlerSupport
org.directwebremoting.spring.DwrNamespaceHandler
public class DwrNamespaceHandler
- extends NamespaceHandlerSupport
The Spring namespace handler which handles all elements that are defined as
part of the DWR namespace.
The DWR namespace is defined in the spring-dwr-X.X.xsd
file. All
elements that are encountered in Spring configuration files are automatically
converted to their actual bean representation in the Spring bean registry.
- Author:
- Erik Wiersma, Bram Smeets, Joe Walker [joe at getahead dot ltd dot uk]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SPRING_CONFIGURATOR_ID
protected static final java.lang.String DEFAULT_SPRING_CONFIGURATOR_ID
- See Also:
- Constant Field Values
log
protected static final Logger log
- The log stream
DwrNamespaceHandler
public DwrNamespaceHandler()
init
public void init()
registerSpringConfiguratorIfNecessary
protected BeanDefinition registerSpringConfiguratorIfNecessary(BeanDefinitionRegistry registry)
registerCreator
protected void registerCreator(BeanDefinitionRegistry registry,
java.lang.String javascript,
BeanDefinitionBuilder creatorConfig,
java.util.Map params,
org.w3c.dom.NodeList children)
- Registers a new
Creator
in the registry using name javascript
.
- Parameters:
registry
- The definition of all the Beansjavascript
- The name of the bean in the registry.beanCreator
- The Creator
to register.children
- The node list to check for nested elements
parseConverterSettings
protected void parseConverterSettings(ConverterConfig converterConfig,
org.w3c.dom.Element parent)
lookupCreators
protected java.util.Map lookupCreators(BeanDefinitionRegistry registry)
lookupConverters
protected java.util.Map lookupConverters(BeanDefinitionRegistry registry)