org.jboss.aop.instrument
Class GeneratedAdvisorConstructionTransformer

java.lang.Object
  extended by org.jboss.aop.instrument.ConstructionTransformer
      extended by org.jboss.aop.instrument.GeneratedAdvisorConstructionTransformer

public class GeneratedAdvisorConstructionTransformer
extends ConstructionTransformer

Comment

Version:
$Revision$
Author:
Kabir Khan

Field Summary
 
Fields inherited from class org.jboss.aop.instrument.ConstructionTransformer
instrumentor
 
Constructor Summary
GeneratedAdvisorConstructionTransformer(Instrumentor instrumentor)
           
 
Method Summary
protected  boolean addInfoAsWeakReference()
           
static String constructionFactory(String className)
           
protected  void generateConstructionInfoField(javassist.CtConstructor constructor, int index)
           
protected  void generateNotMatchedConstructionInfoField(javassist.CtConstructor constructor, int index)
           
protected  void insertInterception(javassist.CtConstructor constructor, int index)
           
protected  boolean markInfoAsSynthetic()
           
 
Methods inherited from class org.jboss.aop.instrument.ConstructionTransformer
addConstructionInfoField, addConstructionInfoField, constructionInfoFromWeakReference, getConstructionInfoFieldName, insertConstructionInterception, isAdvisableConstructor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratedAdvisorConstructionTransformer

public GeneratedAdvisorConstructionTransformer(Instrumentor instrumentor)
Method Detail

generateConstructionInfoField

protected void generateConstructionInfoField(javassist.CtConstructor constructor,
                                             int index)
                                      throws javassist.NotFoundException,
                                             javassist.CannotCompileException
Overrides:
generateConstructionInfoField in class ConstructionTransformer
Throws:
javassist.NotFoundException
javassist.CannotCompileException

generateNotMatchedConstructionInfoField

protected void generateNotMatchedConstructionInfoField(javassist.CtConstructor constructor,
                                                       int index)
                                                throws javassist.NotFoundException,
                                                       javassist.CannotCompileException
Overrides:
generateNotMatchedConstructionInfoField in class ConstructionTransformer
Throws:
javassist.NotFoundException
javassist.CannotCompileException

addInfoAsWeakReference

protected boolean addInfoAsWeakReference()
Overrides:
addInfoAsWeakReference in class ConstructionTransformer

markInfoAsSynthetic

protected boolean markInfoAsSynthetic()
Overrides:
markInfoAsSynthetic in class ConstructionTransformer

constructionFactory

public static String constructionFactory(String className)

insertInterception

protected void insertInterception(javassist.CtConstructor constructor,
                                  int index)
                           throws Exception
Specified by:
insertInterception in class ConstructionTransformer
Throws:
Exception


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.