public class SystemExcludeRegexPatternTypeFilter extends Object implements org.springframework.core.type.filter.TypeFilter
TypeFilter
for using with context:component-scan: exclude-filter
Spring element.
This filter checks system and environment property "" and if defined then property value
is used for Pattern
compilation.
System property has higher priority.
Example:
<context:exclude-filter type="custom" expression="org.openhubframework.openhub.core.common.spring.SystemExcludeRegexPatternTypeFilter"/>
SystemIncludeRegexPatternTypeFilter
Constructor and Description |
---|
SystemExcludeRegexPatternTypeFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(org.springframework.core.type.classreading.MetadataReader metadataReader,
org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory) |
public boolean match(org.springframework.core.type.classreading.MetadataReader metadataReader, org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory) throws IOException
match
in interface org.springframework.core.type.filter.TypeFilter
IOException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.