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");
//Persistence
hashy.add("com.google.guice.extensions.persist");
hashy.add("java.naming");
hashy.add("java.persistence");
hashy.add("org.json");
hashy.add("java.sql");
hashy.add("btm");
hashy.add("java.transaction");
hashy.add("javax.servlet.api");
hashy.add("com.google.guice.extensions.servlet");
hashy.add("uadetector.core");
hashy.add("uadetector.resources");
hashy.add("org.apache.commons.io");
hashy.add("org.apache.commons.lang3");
hashy.add("org.apache.commons.text");
return hashy;
}
}