com.atlassian.plugin.spring.pluginns
Class PluginContextClassLoaderStrategyBeanDefinitionDecorator

java.lang.Object
  extended by 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.


Constructor Summary
PluginContextClassLoaderStrategyBeanDefinitionDecorator()
           
 
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
 

Constructor Detail

PluginContextClassLoaderStrategyBeanDefinitionDecorator

public PluginContextClassLoaderStrategyBeanDefinitionDecorator()
Method Detail

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 attribute
holder - The containing bean definition
ctx - The parser context
Returns:
The containing bean definition


Copyright © 2015 Atlassian. All rights reserved.