Home » Hibernate-3.3.2.GA » org.hibernate » bytecode » [javadoc | source]
org.hibernate.bytecode
public interface: BytecodeProvider [javadoc | source]

All Known Implementing Classes:
    BytecodeProviderImpl, BytecodeProviderImpl

Contract for providers of bytecode services to Hibernate.

Bytecode requirements break down into basically 3 areas

  1. proxy generation (both for runtime-lazy-loading and basic proxy generation) #getProxyFactoryFactory()
  2. bean relection optimization #getReflectionOptimizer
  3. field-access instumentation #getTransformer
Method from org.hibernate.bytecode.BytecodeProvider Summary:
getProxyFactoryFactory,   getReflectionOptimizer,   getTransformer
Method from org.hibernate.bytecode.BytecodeProvider Detail:
 public ProxyFactoryFactory getProxyFactoryFactory()
    Retrieve the specific factory for this provider capable of generating run-time proxies for lazy-loading purposes.
 public ReflectionOptimizer getReflectionOptimizer(Class clazz,
    String[] getterNames,
    String[] setterNames,
    Class[] types)
    Retrieve the ReflectionOptimizer delegate for this provider capable of generating reflection optimization components.
 public ClassTransformer getTransformer(ClassFilter classFilter,
    FieldFilter fieldFilter)
    Generate a ClassTransformer capable of performing bytecode manipulation.