org.jboss.aop.instrument
Class ClassicInstrumentor
java.lang.Object
org.jboss.aop.instrument.Instrumentor
org.jboss.aop.instrument.ClassicInstrumentor
public class ClassicInstrumentor
- extends Instrumentor
Comment
- Version:
- $Revision$
- Author:
- Kabir Khan
Method Summary |
protected javassist.CtMethod |
createMixinInvokeMethod(javassist.CtClass clazz,
javassist.CtClass mixinClass,
String initializer,
javassist.CtMethod method,
long hash)
Creates generic invoke method to be wrapped by real signatures. |
protected void |
doSetupBasics(javassist.CtClass clazz)
|
protected void |
intitialiseTransformers()
|
Methods inherited from class org.jboss.aop.instrument.Instrumentor |
addMixinMethod, addProtectedField, addStaticField, addSyntheticAttribute, addSyntheticAttribute, addSyntheticAttribute, addSyntheticAttribute, applyCallerPointcuts, convertProcessedClasses, convertReferences, createInvokeMethod, forName, forName, getAdvisableFields, getClassPool, getConstructors, implementsAdvised, interceptorChainsUpdated, isAdvised, isBaseClass, isProxyObject, isTransformable, mixinFieldName, prepareClassForTransformation, setupBasics, shouldNotTransform, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HELPER_CLASS_NAME
public static final String HELPER_CLASS_NAME
- Name of helper class.
ClassicInstrumentor
public ClassicInstrumentor(AOPClassPool pool,
AspectManager manager,
JoinpointClassifier joinpointClassifier,
DynamicTransformationObserver observer)
ClassicInstrumentor
public ClassicInstrumentor(AspectManager manager,
JoinpointClassifier joinpointClassifier)
intitialiseTransformers
protected void intitialiseTransformers()
- Specified by:
intitialiseTransformers
in class Instrumentor
createMixinInvokeMethod
protected javassist.CtMethod createMixinInvokeMethod(javassist.CtClass clazz,
javassist.CtClass mixinClass,
String initializer,
javassist.CtMethod method,
long hash)
throws javassist.CannotCompileException,
javassist.NotFoundException,
Exception
- Description copied from class:
Instrumentor
- Creates generic invoke method to be wrapped by real signatures.
- Specified by:
createMixinInvokeMethod
in class Instrumentor
- Throws:
javassist.CannotCompileException
javassist.NotFoundException
Exception
doSetupBasics
protected void doSetupBasics(javassist.CtClass clazz)
throws javassist.CannotCompileException,
javassist.NotFoundException
- Specified by:
doSetupBasics
in class Instrumentor
- Throws:
javassist.CannotCompileException
javassist.NotFoundException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.