Uses of Interface
org.hibernate.bytecode.enhance.internal.bytebuddy.EnhancerClassLocator
-
Packages that use EnhancerClassLocator Package Description org.hibernate.bytecode.enhance.internal.bytebuddy package containing bytecode enhancement code (internals)org.hibernate.bytecode.internal.bytebuddy Byte Buddy support internals -
-
Uses of EnhancerClassLocator in org.hibernate.bytecode.enhance.internal.bytebuddy
Classes in org.hibernate.bytecode.enhance.internal.bytebuddy that implement EnhancerClassLocator Modifier and Type Class Description class
ModelTypePool
A TypePool suitable for loading user's classes, potentially in parallel operations.Methods in org.hibernate.bytecode.enhance.internal.bytebuddy that return EnhancerClassLocator Modifier and Type Method Description static EnhancerClassLocator
ModelTypePool. buildModelTypePool(ClassLoader classLoader)
Creates a new empty EnhancerClassLocator instance which will load any application classes that need being reflected on from the ClassLoader passed as parameter.static EnhancerClassLocator
ModelTypePool. buildModelTypePool(net.bytebuddy.dynamic.ClassFileLocator classFileLocator)
Similar toModelTypePool.buildModelTypePool(ClassLoader)
except the application classes are not necessarily sourced from a standard classloader: it accepts aClassFileLocator
, which offers some more flexibility.static EnhancerClassLocator
ModelTypePool. buildModelTypePool(net.bytebuddy.dynamic.ClassFileLocator classFileLocator, CoreTypePool coreTypePool)
Similar toModelTypePool.buildModelTypePool(ClassFileLocator)
but allows specifying an existingCoreTypePool
to be used as parent pool.static EnhancerClassLocator
ModelTypePool. buildModelTypePool(net.bytebuddy.dynamic.ClassFileLocator classFileLocator, CoreTypePool coreTypePool, org.hibernate.bytecode.enhance.internal.bytebuddy.SafeCacheProvider cacheProvider)
The more advanced strategy to construct a new ModelTypePool, allowing customization of all its aspects.Constructors in org.hibernate.bytecode.enhance.internal.bytebuddy with parameters of type EnhancerClassLocator Constructor Description EnhancerImpl(EnhancementContext enhancementContext, ByteBuddyState byteBuddyState, EnhancerClassLocator classLocator)
Expert level constructor, this allows for more control of state and bytecode loading, which allows integrators to optimise for particular contexts of use. -
Uses of EnhancerClassLocator in org.hibernate.bytecode.internal.bytebuddy
Methods in org.hibernate.bytecode.internal.bytebuddy with parameters of type EnhancerClassLocator Modifier and Type Method Description @Nullable Enhancer
BytecodeProviderImpl. getEnhancer(EnhancementContext enhancementContext, EnhancerClassLocator classLocator)
Similar toBytecodeProviderImpl.getEnhancer(EnhancementContext)
but intended for advanced users who wish to customize how ByteBuddy is locating the class files and caching the types.
-