public class BytecodeProviderImpl extends Object implements BytecodeProvider
Constructor and Description |
---|
BytecodeProviderImpl() |
Modifier and Type | Method and Description |
---|---|
EntityInstrumentationMetadata |
getEntityInstrumentationMetadata(Class entityClass)
Retrieve the interception metadata for the particular entity type.
|
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.
|
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 ClassTransformer getTransformer(ClassFilter classFilter, FieldFilter fieldFilter)
BytecodeProvider
getTransformer
in interface BytecodeProvider
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.public EntityInstrumentationMetadata getEntityInstrumentationMetadata(Class entityClass)
BytecodeProvider
getEntityInstrumentationMetadata
in interface BytecodeProvider
entityClass
- The entity class. Note: we pass class here instead of the usual "entity name" because
only real classes can be instrumented.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.