public interface BytecodeProvider
getProxyFactoryFactory()
getReflectionOptimizer(java.lang.Class, java.lang.String[], java.lang.String[], java.lang.Class[])
Modifier and Type | Method and Description |
---|---|
Enhancer |
getEnhancer(EnhancementContext enhancementContext)
Returns a byte code enhancer that implements the enhancements described in the supplied enhancement context.
|
ProxyFactoryFactory |
getProxyFactoryFactory()
Retrieve the specific factory for this provider capable of
generating run-time proxies for lazy-loading purposes.
|
ReflectionOptimizer |
getReflectionOptimizer(Class clazz,
String[] getterNames,
String[] setterNames,
Class[] types)
Retrieve the ReflectionOptimizer delegate for this provider
capable of generating reflection optimization components.
|
default void |
resetCaches()
Some BytecodeProvider implementations will have classloader specific caching.
|
ProxyFactoryFactory getProxyFactoryFactory()
ReflectionOptimizer getReflectionOptimizer(Class clazz, String[] getterNames, String[] setterNames, Class[] types)
clazz
- The class to be reflected upon.getterNames
- Names of all property getters to be accessed via reflection.setterNames
- Names of all property setters to be accessed via reflection.types
- The types of all properties to be accessed.Enhancer getEnhancer(EnhancementContext enhancementContext)
enhancementContext
- The enhancement context that describes the enhancements to apply.default void resetCaches()
Copyright © 2019 JBoss by Red Hat. All rights reserved.