Class IntrospectedHibernateBytecodeProvider

java.lang.Object
io.micronaut.configuration.hibernate.jpa.proxy.IntrospectedHibernateBytecodeProvider
All Implemented Interfaces:
Serializable, org.hibernate.bytecode.spi.BytecodeProvider, org.hibernate.service.Service

@Singleton @Internal public final class IntrospectedHibernateBytecodeProvider extends Object implements org.hibernate.bytecode.spi.BytecodeProvider
Compile-time proxies implementation of Hibernate's BytecodeProvider. Implementation provides custom implementation of ProxyFactoryFactory and disables bytecode enhancer.
Since:
3.3.0
See Also:
  • Constructor Details

    • IntrospectedHibernateBytecodeProvider

      public IntrospectedHibernateBytecodeProvider()
  • Method Details

    • getProxyFactoryFactory

      public org.hibernate.bytecode.spi.ProxyFactoryFactory getProxyFactoryFactory()
      Specified by:
      getProxyFactoryFactory in interface org.hibernate.bytecode.spi.BytecodeProvider
    • getReflectionOptimizer

      public org.hibernate.bytecode.spi.ReflectionOptimizer getReflectionOptimizer(Class clazz, String[] getterNames, String[] setterNames, Class[] types)
      Specified by:
      getReflectionOptimizer in interface org.hibernate.bytecode.spi.BytecodeProvider
    • getReflectionOptimizer

      public org.hibernate.bytecode.spi.ReflectionOptimizer getReflectionOptimizer(Class<?> clazz, Map<String,org.hibernate.property.access.spi.PropertyAccess> propertyAccessMap)
      Specified by:
      getReflectionOptimizer in interface org.hibernate.bytecode.spi.BytecodeProvider
    • getEnhancer

      public org.hibernate.bytecode.enhance.spi.Enhancer getEnhancer(org.hibernate.bytecode.enhance.spi.EnhancementContext enhancementContext)
      Specified by:
      getEnhancer in interface org.hibernate.bytecode.spi.BytecodeProvider