Package org.springframework.data.config
Class TypeFilterParser
java.lang.Object
org.springframework.data.config.TypeFilterParser
Parser to populate the given
ClassPathScanningCandidateComponentProvider with TypeFilters parsed from
the given Element's children.- Author:
- Oliver Gierke
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTypeFilterParser(XmlReaderContext readerContext) Creates a newTypeFilterParserwith the givenReaderContext. -
Method Summary
Modifier and TypeMethodDescriptionprotected TypeFiltercreateTypeFilter(Element element, ClassLoader classLoader) parseTypeFilters(Element element, TypeFilterParser.Type type) Returns allTypeFilterdeclared in nested elements of the givenElement.
-
Constructor Details
-
TypeFilterParser
Creates a newTypeFilterParserwith the givenReaderContext.- Parameters:
readerContext- must not be null.
-
-
Method Details
-
parseTypeFilters
Returns allTypeFilterdeclared in nested elements of the givenElement. Allows to selectively retrieve including or excluding filters based on the givenTypeFilterParser.Type.- Parameters:
element- must not be null.type- must not be null.- Returns:
-
createTypeFilter
- Parameters:
element- must not be null.classLoader- must not be null.- Returns:
-