Class 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
    • Field Summary

      • Fields inherited from class net.bytebuddy.pool.TypePool.AbstractBase

        cacheProvider, PRIMITIVE_DESCRIPTORS, PRIMITIVE_TYPES
    • Constructor Detail

      • CoreTypePool

        @Deprecated
        public CoreTypePool​(String... acceptedPrefixes)
        Deprecated.
        used by Quarkus
        Construct a new CoreTypePool with a choice of which prefixes for fully qualified classnames will be loaded by this TypePool.
    • Method Detail

      • doDescribe

        protected net.bytebuddy.pool.TypePool.Resolution doDescribe​(String name)
        Specified by:
        doDescribe in class net.bytebuddy.pool.TypePool.AbstractBase