org.codehaus.groovy.grails.context.annotation
Class ClosureClassIgnoringComponentScanBeanDefinitionParser

java.lang.Object
  extended by org.springframework.context.annotation.ComponentScanBeanDefinitionParser
      extended by org.codehaus.groovy.grails.context.annotation.ClosureClassIgnoringComponentScanBeanDefinitionParser
All Implemented Interfaces:
BeanDefinitionParser

public class ClosureClassIgnoringComponentScanBeanDefinitionParser
extends ComponentScanBeanDefinitionParser

Extends Spring's default <context:component-scan/> element to ignore Groovy's generated closure classes

Since:
1.2
Author:
Graeme Rocher, Lari Hotari

Constructor Summary
ClosureClassIgnoringComponentScanBeanDefinitionParser()
           
 
Method Summary
protected  ClassPathBeanDefinitionScanner configureScanner(ParserContext parserContext, Element element)
           
protected  ClassPathBeanDefinitionScanner createScanner(XmlReaderContext readerContext, boolean useDefaultFilters)
           
 
Methods inherited from class org.springframework.context.annotation.ComponentScanBeanDefinitionParser
createTypeFilter, parse, parseBeanNameGenerator, parseScope, parseTypeFilters, registerComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosureClassIgnoringComponentScanBeanDefinitionParser

public ClosureClassIgnoringComponentScanBeanDefinitionParser()
Method Detail

createScanner

protected ClassPathBeanDefinitionScanner createScanner(XmlReaderContext readerContext,
                                                       boolean useDefaultFilters)
Overrides:
createScanner in class ComponentScanBeanDefinitionParser

configureScanner

protected ClassPathBeanDefinitionScanner configureScanner(ParserContext parserContext,
                                                          Element element)
Overrides:
configureScanner in class ComponentScanBeanDefinitionParser


Copyright (c) 2005-2009 The Grails project