org.jboss.aop.instrument
Class OptimizedConstructorInvocations

java.lang.Object
  extended by org.jboss.aop.instrument.OptimizedInvocations
      extended by org.jboss.aop.instrument.OptimizedBehaviourInvocations
          extended by org.jboss.aop.instrument.OptimizedConstructorInvocations

public class OptimizedConstructorInvocations
extends OptimizedBehaviourInvocations

Comment

Version:
$Revision$
Author:
Kabir Khan

Constructor Summary
OptimizedConstructorInvocations()
           
 
Method Summary
protected static String createOptimizedInvocationClass(Instrumentor instrumentor, javassist.CtClass clazz, javassist.CtConstructor con, int index)
           
protected static String getOptimizedInvocationClassName(javassist.CtClass declaringClazz, int constructorIndex)
          Returns the name of the optimized Invocation class.
 
Methods inherited from class org.jboss.aop.instrument.OptimizedBehaviourInvocations
addArgumentFieldsToInvocation, addGetArguments, addGetArguments, addSetArguments, setArguments, setArguments
 
Methods inherited from class org.jboss.aop.instrument.OptimizedInvocations
defrostClassIfExists, makeInvocationClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizedConstructorInvocations

public OptimizedConstructorInvocations()
Method Detail

getOptimizedInvocationClassName

protected static String getOptimizedInvocationClassName(javassist.CtClass declaringClazz,
                                                        int constructorIndex)
Returns the name of the optimized Invocation class.

Parameters:
declaringClazz - the class that contains the constructor.
constructorIndex - the index of the constructor.
Returns:
the name of the optimized Invocation class.

createOptimizedInvocationClass

protected static String createOptimizedInvocationClass(Instrumentor instrumentor,
                                                       javassist.CtClass clazz,
                                                       javassist.CtConstructor con,
                                                       int index)
                                                throws javassist.NotFoundException,
                                                       javassist.CannotCompileException
Throws:
javassist.NotFoundException
javassist.CannotCompileException


Copyright © 2004 JBoss Inc. All Rights Reserved.