org.jboss.aop.instrument
Class ClassicInstrumentor

java.lang.Object
  extended by org.jboss.aop.instrument.Instrumentor
      extended by org.jboss.aop.instrument.ClassicInstrumentor

public class ClassicInstrumentor
extends Instrumentor

Comment

Version:
$Revision$
Author:
Kabir Khan

Field Summary
static String HELPER_CLASS_NAME
          Name of helper class.
 
Fields inherited from class org.jboss.aop.instrument.Instrumentor
AOP_PACKAGE, ASPECT_MANAGER_CLASS_NAME, basicsSet, classPool, converter, HELPER_FIELD_NAME, joinpointClassifier, manager, processedClasses
 
Constructor Summary
ClassicInstrumentor(AOPClassPool pool, AspectManager manager, JoinpointClassifier joinpointClassifier, DynamicTransformationObserver observer)
           
ClassicInstrumentor(AspectManager manager, JoinpointClassifier joinpointClassifier)
           
 
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
 

Field Detail

HELPER_CLASS_NAME

public static final String HELPER_CLASS_NAME
Name of helper class.

Constructor Detail

ClassicInstrumentor

public ClassicInstrumentor(AOPClassPool pool,
                           AspectManager manager,
                           JoinpointClassifier joinpointClassifier,
                           DynamicTransformationObserver observer)

ClassicInstrumentor

public ClassicInstrumentor(AspectManager manager,
                           JoinpointClassifier joinpointClassifier)
Method Detail

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 © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.