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

com.guicedee.guicedpersistence.jpa.implementations.JPAModuleExclusions Maven / Gradle / Ivy

Go to download

A complete JPA 2.1 implementation for Standalone or EE Implementation. Enables Multiple Persistence units with annotated injection support aPerfect for Guice implementations, test suites, and Guice enabled Web Applications or EAR Projects. Requires JDK 8 and up

There is a newer version: 62
Show newest version
package com.guicedee.guicedpersistence.jpa.implementations;

import com.guicedee.guicedinjection.interfaces.IGuiceScanJarExclusions;
import com.guicedee.guicedinjection.interfaces.IGuiceScanModuleExclusions;

import javax.validation.constraints.NotNull;
import java.util.HashSet;
import java.util.Set;

public class JPAModuleExclusions
		implements IGuiceScanModuleExclusions,
				           IGuiceScanJarExclusions
{
	@Override
	public @NotNull Set excludeJars()
	{
		Set strings = new HashSet<>();
		strings.add("guiced-persistence-jpa-*");
		return strings;
	}

	@Override
	public @NotNull Set excludeModules()
	{
		Set strings = new HashSet<>();
		strings.add("com.guicedee.guicedpersistence.jpa");
		return strings;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy