1 package com.atlassian.plugin.spring.pluginns;
2
3 import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
4
5 /**
6 * Handler for the "plugin" namespace
7 */
8 public class PluginNamespaceHandler extends NamespaceHandlerSupport
9 {
10 /**
11 * Registeres the "available" attribute for beans
12 */
13 public void init()
14 {
15 super.registerBeanDefinitionDecoratorForAttribute("available",
16 new PluginAvailableBeanDefinitionDecorator());
17 }
18 }