|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2017 the original author or authors.
|
|
|
|
|
* Copyright 2012-2018 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -60,7 +60,7 @@ public class TypeExcludeFilter implements TypeFilter, BeanFactoryAware {
|
|
|
|
|
public boolean match(MetadataReader metadataReader,
|
|
|
|
|
MetadataReaderFactory metadataReaderFactory) throws IOException {
|
|
|
|
|
if (this.beanFactory instanceof ListableBeanFactory
|
|
|
|
|
&& getClass().equals(TypeExcludeFilter.class)) {
|
|
|
|
|
&& getClass() == TypeExcludeFilter.class) {
|
|
|
|
|
Collection<TypeExcludeFilter> delegates = ((ListableBeanFactory) this.beanFactory)
|
|
|
|
|
.getBeansOfType(TypeExcludeFilter.class).values();
|
|
|
|
|
for (TypeExcludeFilter delegate : delegates) {
|
|
|
|
|