org.springframework.data.config
Class TypeFilterParser
java.lang.Object
org.springframework.data.config.TypeFilterParser
public class TypeFilterParser
- extends Object
Parser to populate the given ClassPathScanningCandidateComponentProvider with TypeFilters parsed from
the given Element's children.
- Author:
- Oliver Gierke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeFilterParser
public TypeFilterParser(XmlReaderContext readerContext)
- Creates a new
TypeFilterParser with the given ReaderContext.
- Parameters:
readerContext - must not be null.
parseTypeFilters
public Iterable<TypeFilter> parseTypeFilters(Element element,
TypeFilterParser.Type type)
- Returns all
TypeFilter declared in nested elements of the given Element. Allows to selectively
retrieve including or excluding filters based on the given TypeFilterParser.Type.
- Parameters:
element - must not be null.type - must not be null.
- Returns:
createTypeFilter
protected TypeFilter createTypeFilter(Element element,
ClassLoader classLoader)
- Createsa a
TypeFilter instance from the given Element and ClassLoader.
- Parameters:
element - must not be null.classLoader - must not be null.
- Returns:
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.