org.hibernate.boot.registry.classloading.internal.TcclLookupPrecedence Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.boot.registry.classloading.internal;
/**
* Defines when the lookup in the current thread context {@link ClassLoader} should be
* done according to the other ones.
*
* @author Cédric Tabin
*/
public enum TcclLookupPrecedence {
/**
* The current thread context {@link ClassLoader} will never be used during
* the class lookup.
*/
NEVER,
/**
* The class lookup will be done in the thread context {@link ClassLoader} prior
* to the other {@code ClassLoader}s.
*/
BEFORE,
/**
* The class lookup will be done in the thread context {@link ClassLoader} if
* the former hasn't been found in the other {@code ClassLoader}s.
* This is the default value.
*/
AFTER
}