1 package com.atlassian.plugin.spring.scanner.runtime;
2
3 import com.atlassian.plugin.spring.scanner.runtime.impl.AtlassianScannerBeanDefinitionParser;
4 import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
5
6 /**
7 * This class is simply the entry point for the spring xsd runtime.
8 * It maps the scan-indexes element in the xml to the proper parser
9 */
10 public class AtlassianScannerNamespaceHandler extends NamespaceHandlerSupport {
11
12 @Override
13 public void init() {
14 registerBeanDefinitionParser("scan-indexes", new AtlassianScannerBeanDefinitionParser());
15 }
16 }