Class IntrospectedHibernateBytecodeProvider
java.lang.Object
io.micronaut.configuration.hibernate.jpa.proxy.IntrospectedHibernateBytecodeProvider
- All Implemented Interfaces:
Serializable
,BytecodeProvider
,Service
@Singleton
@Internal
public final class IntrospectedHibernateBytecodeProvider
extends Object
implements BytecodeProvider
Compile-time proxies implementation of Hibernate's
BytecodeProvider
.
Implementation provides custom implementation of ProxyFactoryFactory
and disables bytecode enhancer.- Since:
- 3.3.0
- Author:
- Denis Stepanov
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEnhancer
(EnhancementContext enhancementContext) getReflectionOptimizer
(Class<?> clazz, Map<String, PropertyAccess> propertyAccessMap) getReflectionOptimizer
(Class clazz, String[] getterNames, String[] setterNames, Class[] types) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.bytecode.spi.BytecodeProvider
resetCaches
-
Constructor Details
-
IntrospectedHibernateBytecodeProvider
public IntrospectedHibernateBytecodeProvider()
-
-
Method Details
-
getProxyFactoryFactory
- Specified by:
getProxyFactoryFactory
in interfaceBytecodeProvider
-
getReflectionOptimizer
public ReflectionOptimizer getReflectionOptimizer(Class clazz, String[] getterNames, String[] setterNames, Class[] types) - Specified by:
getReflectionOptimizer
in interfaceBytecodeProvider
-
getReflectionOptimizer
public ReflectionOptimizer getReflectionOptimizer(Class<?> clazz, Map<String, PropertyAccess> propertyAccessMap) - Specified by:
getReflectionOptimizer
in interfaceBytecodeProvider
-
getEnhancer
- Specified by:
getEnhancer
in interfaceBytecodeProvider
-