com.jwebmp.guicedinjection.implementations.GuiceDefaultModuleExclusions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guiced-injection Show documentation
Show all versions of guiced-injection Show documentation
Guice Injection allows you to access multiple Guice Binders and Modules across separate archives.
Allowing you to configure your applications with injection from multiple dependancies. Servlets, EJB's, and
Stand-Alone is supported. Requires JDK 8 or 10.
package com.jwebmp.guicedinjection.implementations;
import com.jwebmp.guicedinjection.interfaces.IGuiceScanModuleExclusions;
import javax.validation.constraints.NotNull;
import java.util.HashSet;
import java.util.Set;
public class GuiceDefaultModuleExclusions
implements IGuiceScanModuleExclusions
{
@Override
public @NotNull Set excludeModules()
{
Set hashy = new HashSet<>();
hashy.add("io.github.classgraph");
hashy.add("com.google.common");
hashy.add("javax.inject");
hashy.add("com.google.guice");
hashy.add("com.fasterxml.jackson.annotation");
hashy.add("javax.validation");
hashy.add("com.fasterxml.jackson.datatype.jsr310");
hashy.add("com.fasterxml.jackson.datatype.jdk9");
hashy.add("com.fasterxml.jackson.databind");
hashy.add("com.fasterxml.jackson.core");
hashy.add("aopalliance");
hashy.add("java.logging");
hashy.add("com.jwebmp.logmaster");
return hashy;
}
}