com.atlassian.plugin.spring.pluginns
Class PluginContextClassLoaderStrategyBeanDefinitionDecorator
java.lang.Object
com.atlassian.plugin.spring.pluginns.PluginContextClassLoaderStrategyBeanDefinitionDecorator
- All Implemented Interfaces:
- org.springframework.beans.factory.xml.BeanDefinitionDecorator
public class PluginContextClassLoaderStrategyBeanDefinitionDecorator
- extends Object
- implements org.springframework.beans.factory.xml.BeanDefinitionDecorator
Processes an "contextClassLoader" strategy 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(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 |
PluginContextClassLoaderStrategyBeanDefinitionDecorator
public PluginContextClassLoaderStrategyBeanDefinitionDecorator()
decorate
public org.springframework.beans.factory.config.BeanDefinitionHolder decorate(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 © 2010 Atlassian. All Rights Reserved.