com.jwebmp.guicedpersistence.wildfly.implementations.WildflyModuleExclusions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guiced-persistence-wildfly Show documentation
Show all versions of guiced-persistence-wildfly Show documentation
Reads the given standalone wildfly file to configure the ConnectionBaseInfo object.
package com.jwebmp.guicedpersistence.wildfly.implementations;
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 WildflyModuleExclusions
implements IGuiceScanModuleExclusions,
IGuiceScanJarExclusions
{
@Override
public @NotNull Set excludeJars()
{
Set strings = new HashSet<>();
strings.add("guiced-persistence-wildfly-*");
return strings;
}
@Override
public @NotNull Set excludeModules()
{
Set strings = new HashSet<>();
strings.add("com.jwebmp.guicedpersistence.wildfly");
return strings;
}
}