com.jwebmp.guicedpersistence.readers.hibernateproperties.HibernateModuleExclusions Maven / Gradle / Ivy
package com.jwebmp.guicedpersistence.readers.hibernateproperties;
import com.jwebmp.guicedinjection.interfaces.IGuiceScanJarExclusions;
import com.jwebmp.guicedinjection.interfaces.IGuiceScanModuleExclusions;
import javax.validation.constraints.NotNull;
import java.util.HashSet;
import java.util.Set;
public class HibernateModuleExclusions
implements IGuiceScanJarExclusions,
IGuiceScanModuleExclusions
{
@Override
public @NotNull Set excludeJars()
{
Set strings = new HashSet<>();
strings.add("guiced-persistence-hibernateproperties-reader-*");
return strings;
}
@Override
public @NotNull Set excludeModules()
{
Set strings = new HashSet<>();
strings.add("com.jwebmp.guicedpersistence.readers.hibernateproperties");
return strings;
}
}