public class

PluginContextClassLoaderStrategyBeanDefinitionDecorator

extends Object
implements BeanDefinitionDecorator
java.lang.Object
   ↳ com.atlassian.plugin.spring.pluginns.PluginContextClassLoaderStrategyBeanDefinitionDecorator

Class Overview

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.

Summary

Public Constructors
PluginContextClassLoaderStrategyBeanDefinitionDecorator()
Public Methods
BeanDefinitionHolder decorate(Node source, BeanDefinitionHolder holder, ParserContext ctx)
Called when the Spring parser encounters an "available" attribute.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.factory.xml.BeanDefinitionDecorator

Public Constructors

public PluginContextClassLoaderStrategyBeanDefinitionDecorator ()

Public Methods

public BeanDefinitionHolder decorate (Node source, BeanDefinitionHolder holder, ParserContext ctx)

Called when the Spring parser encounters an "available" attribute.

Parameters
source The attribute
holder The containing bean definition
ctx The parser context
Returns
  • The containing bean definition