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

com.jwebmp.guicedservlets.implementations.GuicedServletModuleExclusions Maven / Gradle / Ivy

There is a newer version: 0.68.0.1
Show newest version
package com.jwebmp.guicedservlets.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 GuicedServletModuleExclusions
		implements IGuiceScanModuleExclusions,
				           IGuiceScanJarExclusions
{
	@Override
	public @NotNull Set excludeJars()
	{
		Set strings = new HashSet<>();
		strings.add("guice-servlet-*");
		strings.add("guiced-servlets-*");

		strings.add("javax.servlet-api-*");

		return strings;
	}

	@Override
	public @NotNull Set excludeModules()
	{
		Set strings = new HashSet<>();
		strings.add("com.jwebmp.guicedservlets");


		strings.add("com.google.guice.extensions.servlet");
		strings.add("com.jwebmp.guicedinjection");
		strings.add("com.jwebmp.logmaster");
		strings.add("com.google.guice");
		strings.add("java.logging");
		strings.add("javax.servlet.api");
		strings.add("aopalliance");
		strings.add("java.validation");


		return strings;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy