Class CoreTypePool
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.AbstractBase
-
- org.hibernate.bytecode.enhance.internal.bytebuddy.CoreTypePool
-
- All Implemented Interfaces:
net.bytebuddy.pool.TypePool
public class CoreTypePool extends net.bytebuddy.pool.TypePool.AbstractBase implements net.bytebuddy.pool.TypePool
A TypePool which only loads, and caches, types whose package name starts with certain chosen prefixes. The default is to only load classes whose package names start with either "jakarta." or "java.". This allows to reuse these caches independently from application code and classloader changes, as during enhancement we frequently encounter such symbols as well, for example triggered by JPA annotations or properties mapped via standard java types and collections. Symbols resolved by this pool are backed by loaded classes from ORM's classloader.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.bytebuddy.pool.TypePool.AbstractBase
net.bytebuddy.pool.TypePool.AbstractBase.ArrayTypeResolution, net.bytebuddy.pool.TypePool.AbstractBase.ComponentTypeReference, net.bytebuddy.pool.TypePool.AbstractBase.Hierarchical
-
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool
net.bytebuddy.pool.TypePool.AbstractBase, net.bytebuddy.pool.TypePool.CacheProvider, net.bytebuddy.pool.TypePool.ClassLoading, net.bytebuddy.pool.TypePool.Default, net.bytebuddy.pool.TypePool.Empty, net.bytebuddy.pool.TypePool.Explicit, net.bytebuddy.pool.TypePool.LazyFacade, net.bytebuddy.pool.TypePool.Resolution
-
-
Constructor Summary
Constructors Constructor Description CoreTypePool()
Construct a newCoreTypePool
with its default configuration.CoreTypePool(String... acceptedPrefixes)
Deprecated.used by QuarkusCoreTypePool(CorePrefixFilter acceptedPrefixes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.bytebuddy.pool.TypePool.Resolution
doDescribe(String name)
-
-
-
Constructor Detail
-
CoreTypePool
public CoreTypePool()
Construct a newCoreTypePool
with its default configuration.- See Also:
CorePrefixFilter
-
CoreTypePool
@Deprecated public CoreTypePool(String... acceptedPrefixes)
Deprecated.used by QuarkusConstruct a newCoreTypePool
with a choice of which prefixes for fully qualified classnames will be loaded by thisTypePool
.
-
CoreTypePool
public CoreTypePool(CorePrefixFilter acceptedPrefixes)
-
-
Method Detail
-
doDescribe
protected net.bytebuddy.pool.TypePool.Resolution doDescribe(String name)
- Specified by:
doDescribe
in classnet.bytebuddy.pool.TypePool.AbstractBase
-
-