org.jboss.aop.instrument
Class OptimizedConstructorExecutionTransformer

java.lang.Object
  extended by org.jboss.aop.instrument.ConstructorExecutionTransformer
      extended by org.jboss.aop.instrument.OptimizedConstructorExecutionTransformer

public class OptimizedConstructorExecutionTransformer
extends ConstructorExecutionTransformer

Comment

Version:
$Revision$
Author:
Kabir Khan

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.aop.instrument.ConstructorExecutionTransformer
ConstructorExecutionTransformer.ConstructorTransformation
 
Field Summary
 
Fields inherited from class org.jboss.aop.instrument.ConstructorExecutionTransformer
codifier, CONSTRUCTOR_INFO_CLASS_NAME, CONSTRUCTOR_STATUS, instrumentor
 
Constructor Summary
OptimizedConstructorExecutionTransformer(Instrumentor instrumentor)
           
 
Method Summary
protected  void createWrapper(ConstructorExecutionTransformer.ConstructorTransformation trans)
           
protected  void generateConstructorInfoField(javassist.CtClass clazz, javassist.CtConstructor constructor, int index)
           
 
Methods inherited from class org.jboss.aop.instrument.ConstructorExecutionTransformer
addConstructorInfoField, addConstructorInfoField, addInfoAsWeakReference, buildConstructorWrappers, codeConverted, constructorFactory, constructorInfoFromWeakReference, getConstructorInfoFieldName, getInstrumentor, getWrapper, getWrapperMethod, initialiseWrapper, isAdvisableConstructor, isAnyConstructorAdvised, markInfoAsSynthetic, replaceConstructorAccess, setEmptyWrapperCode, setEmptyWrapperCodeLater, setTemporaryWrapperCode, transform, unwrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizedConstructorExecutionTransformer

public OptimizedConstructorExecutionTransformer(Instrumentor instrumentor)
Method Detail

createWrapper

protected void createWrapper(ConstructorExecutionTransformer.ConstructorTransformation trans)
                      throws javassist.NotFoundException,
                             javassist.CannotCompileException
Specified by:
createWrapper in class ConstructorExecutionTransformer
Throws:
javassist.NotFoundException
javassist.CannotCompileException

generateConstructorInfoField

protected void generateConstructorInfoField(javassist.CtClass clazz,
                                            javassist.CtConstructor constructor,
                                            int index)
                                     throws javassist.CannotCompileException,
                                            javassist.NotFoundException
Overrides:
generateConstructorInfoField in class ConstructorExecutionTransformer
Throws:
javassist.CannotCompileException
javassist.NotFoundException


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