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

com.jwebmp.guicedpersistence.readers.eclipselink.EclipseModuleExclusions Maven / Gradle / Ivy

There is a newer version: 0.66.0.1
Show newest version
package com.jwebmp.guicedpersistence.readers.eclipselink;

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 EclipseModuleExclusions
		implements IGuiceScanJarExclusions,
				           IGuiceScanModuleExclusions
{
	@Override
	public @NotNull Set excludeJars()
	{
		Set strings = new HashSet<>();
		strings.add("org.eclipse.persistence.antlr*");
		strings.add("org.eclipse.persistence.asm*");
		strings.add("org.eclipse.persistence.core*");
		strings.add("org.eclipse.persistence.jpa*");
		return strings;
	}

	@Override
	public @NotNull Set excludeModules()
	{
		Set strings = new HashSet<>();

		strings.add("eclipselink.antlr");
		strings.add("eclipselink.asm");
		strings.add("eclipselink.core");
		strings.add("eclipselink.jpa");

		return strings;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy