org.synyx.hades.dao.config
Class TypeFilterParser

java.lang.Object
  extended by org.synyx.hades.dao.config.TypeFilterParser

public class TypeFilterParser
extends java.lang.Object

Parser to populate the given ClassPathScanningCandidateComponentProvider with TypeFilters parsed from the given Element's children.

Author:
Oliver Gierke - gierke@synyx.de

Constructor Summary
TypeFilterParser(java.lang.ClassLoader classLoader, org.springframework.beans.factory.parsing.ReaderContext readerContext)
          Creates a new TypeFilterParser with the given ClassLoader and ReaderContext.
 
Method Summary
protected  org.springframework.core.type.filter.TypeFilter createTypeFilter(org.w3c.dom.Element element, java.lang.ClassLoader classLoader)
           
 void parseFilters(org.w3c.dom.Element element, org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider scanner)
          Parses include and exclude filters form the given Element's child elements and populates the given ClassPathScanningCandidateComponentProvider with the according TypeFilters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFilterParser

public TypeFilterParser(java.lang.ClassLoader classLoader,
                        org.springframework.beans.factory.parsing.ReaderContext readerContext)
Creates a new TypeFilterParser with the given ClassLoader and ReaderContext.

Parameters:
classLoader -
readerContext -
Method Detail

parseFilters

public void parseFilters(org.w3c.dom.Element element,
                         org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider scanner)
Parses include and exclude filters form the given Element's child elements and populates the given ClassPathScanningCandidateComponentProvider with the according TypeFilters.

Parameters:
element -
scanner -

createTypeFilter

protected org.springframework.core.type.filter.TypeFilter createTypeFilter(org.w3c.dom.Element element,
                                                                           java.lang.ClassLoader classLoader)


Copyright © 2009-2010 Synyx GmbH & Co. KG. All Rights Reserved.