com.atlassian.plugin.spring.pluginns
Class PluginAvailableBeanDefinitionDecorator
java.lang.Object
com.atlassian.plugin.spring.pluginns.PluginAvailableBeanDefinitionDecorator
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionDecorator
public class PluginAvailableBeanDefinitionDecorator
- extends java.lang.Object
- implements org.springframework.beans.factory.xml.BeanDefinitionDecorator
Processes an "available" attribute in the plugin namespace.
Also handles registering the HostComponentProvider through
the SpringHostComponentProviderFactoryBean.
In the case of hierarchical contexts we will put the host component provider in the lowest possible context.
|
Method Summary |
org.springframework.beans.factory.config.BeanDefinitionHolder |
decorate(org.w3c.dom.Node source,
org.springframework.beans.factory.config.BeanDefinitionHolder holder,
org.springframework.beans.factory.xml.ParserContext ctx)
Called when the Spring parser encounters an "available" attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginAvailableBeanDefinitionDecorator
public PluginAvailableBeanDefinitionDecorator()
decorate
public org.springframework.beans.factory.config.BeanDefinitionHolder decorate(org.w3c.dom.Node source,
org.springframework.beans.factory.config.BeanDefinitionHolder holder,
org.springframework.beans.factory.xml.ParserContext ctx)
- Called when the Spring parser encounters an "available" attribute.
- Specified by:
decorate in interface org.springframework.beans.factory.xml.BeanDefinitionDecorator
- Parameters:
source - The attributeholder - The containing bean definitionctx - The parser context
- Returns:
- The containing bean definition
Copyright © 2013 Atlassian. All Rights Reserved.