public class TypeFilterParser extends Object
ClassPathScanningCandidateComponentProvider with TypeFilters parsed from
the given Element's children.| Modifier and Type | Class and Description |
|---|---|
static class |
TypeFilterParser.Type |
| Constructor and Description |
|---|
TypeFilterParser(XmlReaderContext readerContext)
Creates a new
TypeFilterParser with the given ReaderContext. |
| Modifier and Type | Method and Description |
|---|---|
protected TypeFilter |
createTypeFilter(Element element,
ClassLoader classLoader)
|
Collection<TypeFilter> |
parseTypeFilters(Element element,
TypeFilterParser.Type type)
Returns all
TypeFilter declared in nested elements of the given Element. |
public TypeFilterParser(XmlReaderContext readerContext)
TypeFilterParser with the given ReaderContext.readerContext - must not be null.public Collection<TypeFilter> parseTypeFilters(Element element, TypeFilterParser.Type type)
TypeFilter declared in nested elements of the given Element. Allows to selectively
retrieve including or excluding filters based on the given TypeFilterParser.Type.element - must not be null.type - must not be null.protected TypeFilter createTypeFilter(Element element, ClassLoader classLoader)
element - must not be null.classLoader - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.