All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jwebmp.guicedinjection.implementations.GuiceDefaultModuleExclusions Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 0.66.0.1
Show newest version
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy