|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.bytecode.cglib.BytecodeProviderImpl
Bytecode provider implementation for CGLIB.
Constructor Summary | |
BytecodeProviderImpl()
|
Method Summary | |
ClassLoader |
generateDynamicFieldInterceptionClassLoader(ClassLoader parent,
String[] classpath,
String[] packages)
Generate a ClassLoader capable of performing dynamic bytecode manipulation on classes as they are loaded for the purpose of field-level interception. |
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. |
void |
releaseDynamicFieldInterceptionClassLoader(ClassLoader classLoader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BytecodeProviderImpl()
Method Detail |
public ProxyFactoryFactory getProxyFactoryFactory()
BytecodeProvider
getProxyFactoryFactory
in interface BytecodeProvider
public ReflectionOptimizer getReflectionOptimizer(Class clazz, String[] getterNames, String[] setterNames, Class[] types)
BytecodeProvider
getReflectionOptimizer
in interface BytecodeProvider
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.
public ClassLoader generateDynamicFieldInterceptionClassLoader(ClassLoader parent, String[] classpath, String[] packages)
BytecodeProvider
generateDynamicFieldInterceptionClassLoader
in interface BytecodeProvider
parent
- The parent classloaderclasspath
- The classpath to be searchedpackages
- can be null; use to limnit the packages to be loaded
via this classloader (and transformed).
public void releaseDynamicFieldInterceptionClassLoader(ClassLoader classLoader)
releaseDynamicFieldInterceptionClassLoader
in interface BytecodeProvider
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |