|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BytecodeProvider
Contract for providers of bytecode services to Hibernate.
Bytecode requirements break down into basically 3 areasgetProxyFactoryFactory()
getReflectionOptimizer(java.lang.Class, java.lang.String[], java.lang.String[], java.lang.Class[])
getTransformer(org.hibernate.bytecode.util.ClassFilter, org.hibernate.bytecode.util.FieldFilter)
Method Summary | |
---|---|
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. |
ClassTransformer |
getTransformer(ClassFilter classFilter,
FieldFilter fieldFilter)
Generate a ClassTransformer capable of performing bytecode manipulation. |
Method Detail |
---|
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.
ClassTransformer getTransformer(ClassFilter classFilter, FieldFilter fieldFilter)
classFilter
- filter used to limit which classes are to be instrumented
via this ClassTransformer.fieldFilter
- filter used to limit which fields are to be instrumented
via this ClassTransformer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |