|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.bytecode.buildtime.AbstractInstrumenter
org.hibernate.bytecode.buildtime.CGLIBInstrumenter
public class CGLIBInstrumenter
Strategy for performing build-time instrumentation of persistent classes in order to enable field-level interception using CGLIB.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.hibernate.bytecode.buildtime.AbstractInstrumenter |
|---|
AbstractInstrumenter.CustomFieldFilter |
| Nested classes/interfaces inherited from interface org.hibernate.bytecode.buildtime.Instrumenter |
|---|
Instrumenter.Options |
| Field Summary |
|---|
| Fields inherited from class org.hibernate.bytecode.buildtime.AbstractInstrumenter |
|---|
logger, options |
| Constructor Summary | |
|---|---|
CGLIBInstrumenter(Logger logger,
Instrumenter.Options options)
|
|
| Method Summary | |
|---|---|
protected ClassDescriptor |
getClassDescriptor(byte[] byecode)
Given the bytecode of a java class, retrieve the descriptor for that class. |
protected ClassTransformer |
getClassTransformer(ClassDescriptor descriptor,
java.util.Set classNames)
Create class transformer for the class. |
| Methods inherited from class org.hibernate.bytecode.buildtime.AbstractInstrumenter |
|---|
checkMagic, execute, isClassFile, isJarFile, processClassFile, processFile, processJarFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CGLIBInstrumenter(Logger logger,
Instrumenter.Options options)
| Method Detail |
|---|
protected ClassDescriptor getClassDescriptor(byte[] byecode)
throws java.lang.Exception
AbstractInstrumenter
getClassDescriptor in class AbstractInstrumenterbyecode - The class bytecode.
java.lang.Exception - Indicates problems access the bytecode.
protected ClassTransformer getClassTransformer(ClassDescriptor descriptor,
java.util.Set classNames)
AbstractInstrumenter
getClassTransformer in class AbstractInstrumenterdescriptor - The descriptor of the class to be instrumented.classNames - The names of all classes to be instrumented; the "pipeline" if you will.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||