public class SpringConfigurationProcessor extends Object implements ConfigurationProcessor
XmlConfiguration expects a primary object that is either passed in to a call to
or that is constructed by a call to
configure(). This processor looks for a bean definition
with an id, name or alias of "Main" as uses that as the primary bean.
The objects mapped by
XmlConfiguration.getIdMap() are set as singletons before any configuration calls
and if the spring configuration file contains a definition for the singleton id, the the singleton is updated
with a call to
The property map obtained via
XmlConfiguration.getProperties() is set as a singleton called "properties"
and values can be accessed by somewhat verbose
This processor is returned by the
SpringConfigurationProcessorFactory for any XML document whos first
element is "beans". The factory is discovered by a
|Constructor and Description|
|Modifier and Type||Method and Description|
Return a configured bean.
public void init(URL url, XmlParser.Node config, XmlConfiguration configuration)
Copyright © 1995–2017 Webtide. All rights reserved.