org.springframework.core.type.filter.RepositoryFilter Maven / Gradle / Ivy
package org.springframework.core.type.filter;
import java.util.regex.Pattern;
/**
* 특정 패키지만 스캔
*/
public class RepositoryFilter extends RegexPatternTypeFilter {
public RepositoryFilter() {
super(Pattern.compile(".*(?i)\\.repository.*"));
}
}