org.jboss.aop.instrument
Class OptimizedConstructionInvocations

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

public class OptimizedConstructionInvocations
extends OptimizedBehaviourInvocations

Comment

Version:
$Revision$
Author:
Kabir Khan

Field Summary
 
Fields inherited from class org.jboss.aop.instrument.OptimizedBehaviourInvocations
ENFORCE_ARGS_CONSISTENCY, INVOKE_TARGET
 
Constructor Summary
OptimizedConstructionInvocations()
           
 
Method Summary
protected static void addCopy(javassist.CtClass invocation, javassist.CtClass[] params)
           
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
addArgumentFieldsAndAccessors, addDispatch, setArguments
 
Methods inherited from class org.jboss.aop.instrument.OptimizedInvocations
defrostClassIfExists, makeInvocationClass, makeInvocationClassNoCtors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizedConstructionInvocations

public OptimizedConstructionInvocations()
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 Exception
Throws:
Exception

addCopy

protected static void addCopy(javassist.CtClass invocation,
                              javassist.CtClass[] params)
                       throws Exception
Throws:
Exception


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