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

com.jwebmp.undertow.implementations.UndertowModuleExclusions Maven / Gradle / Ivy

package com.jwebmp.undertow.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 UndertowModuleExclusions
		implements IGuiceScanModuleExclusions,
				           IGuiceScanJarExclusions
{
	@Override
	public @NotNull Set excludeJars()
	{
		Set strings = new HashSet<>();
		strings.add("jwebmp-undertow-*");
		strings.add("uadetector-core-*");
		strings.add("uadetector-servlet-*");
		strings.add("uadetector-websockets-*");
		strings.add("xnio-api-*");
		strings.add("xnio-nio-*");
		return strings;
	}

	@Override
	public @NotNull Set excludeModules()
	{
		Set strings = new HashSet<>();
		strings.add("com.jwebmp.undertow");
		strings.add("undertow.core");
		strings.add("undertow.servlet");
		strings.add("xnio.api");
		strings.add("undertow.websockets.jsr");
		return strings;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy