public class ClosureClassIgnoringComponentScanBeanDefinitionParser extends org.springframework.context.annotation.ComponentScanBeanDefinitionParser
Extends Spring's default <context:component-scan/> element to ignore generated classes.
Modifiers | Name | Description |
---|---|---|
private static class |
ClosureClassIgnoringComponentScanBeanDefinitionParser.ParentOnlyGetResourcesClassLoader |
This ClassLoader is used to restrict getResources & getResource methods only to the parent ClassLoader. getResources/getResource usually search all parent level classloaders. |
Modifiers | Name | Description |
---|---|---|
private static org.apache.commons.logging.Log |
LOG |
|
java.lang.ClassLoader |
parentOnlyGetResourcesClassLoader |
Type Params | Return Type | Name and description |
---|---|---|
|
protected org.springframework.context.annotation.ClassPathBeanDefinitionScanner |
configureScanner(org.springframework.beans.factory.xml.ParserContext parserContext, org.w3c.dom.Element element) |
|
protected org.springframework.context.annotation.ClassPathBeanDefinitionScanner |
createScanner(org.springframework.beans.factory.xml.XmlReaderContext readerContext, boolean useDefaultFilters) |
|
protected org.springframework.core.io.Resource[] |
findAllClassPathResources(java.lang.String location) |
|
public java.lang.ClassLoader |
getClassLoader() |
|
public org.springframework.core.io.Resource |
getResource(java.lang.String location) |
|
public boolean |
match(java.lang.String pattern, java.lang.String path) |
Methods inherited from class | Name |
---|---|
class org.springframework.context.annotation.ComponentScanBeanDefinitionParser |
org.springframework.context.annotation.ComponentScanBeanDefinitionParser#parse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#wait(long, int), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#wait(), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#wait(long), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#equals(java.lang.Object), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#toString(), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#hashCode(), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#getClass(), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#notify(), org.springframework.context.annotation.ComponentScanBeanDefinitionParser#notifyAll() |