com.guicedee.guicedpersistence.scanners.GuiceInjectionMetaInfScannerExclusions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guiced-persistence Show documentation
Show all versions of guiced-persistence Show documentation
A complete JPA 2.1 implementation for Standalone or EE Implementation. Enables Multiple Persistence units
with full JTA Support using BTM. Perfect for Guice implementations, test suites, and Guice enabled Web Applications or EAR Projects.
Requires JDK 8
package com.guicedee.guicedpersistence.scanners;
import com.guicedee.guicedinjection.interfaces.IPathContentsBlacklistScanner;
import java.util.HashSet;
import java.util.Set;
public class GuiceInjectionMetaInfScannerExclusions
implements IPathContentsBlacklistScanner
{
@Override
public Set searchFor()
{
Set strings = new HashSet<>();
strings.add("META-INF/resources");
strings.add("META-INF/services");
strings.add("META-INF/maven");
return strings;
}
}