org.jboss.aop.instrument
Class OptimizedInvocations
java.lang.Object
org.jboss.aop.instrument.OptimizedInvocations
- Direct Known Subclasses:
- OptimizedBehaviourInvocations, OptimizedFieldInvocations
public abstract class OptimizedInvocations
- extends Object
Comment
- Version:
- $Revision$
- Author:
- Kabir Khan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptimizedInvocations
public OptimizedInvocations()
defrostClassIfExists
public static void defrostClassIfExists(AOPClassPool pool,
String className)
makeInvocationClass
public static javassist.CtClass makeInvocationClass(AOPClassPool pool,
boolean makeInnerClass,
javassist.CtClass outerClass,
String className,
javassist.CtClass superInvocation)
throws javassist.CannotCompileException,
javassist.NotFoundException
- Parameters:
pool
- The AOPClassPool to create the optimized invocation class inmakeInnerClass
- If true creates the new class as an inner class of classNameouterClass
- The class to create the invocation class as an inner class of if makeInnerClass==trueclassName
- The full class name (including package info) of the invocation class to be createdsuperInvocation
- The super class of this invocation
- Returns:
- The created invocation class
- Throws:
javassist.CannotCompileException
javassist.NotFoundException
makeInvocationClassNoCtors
public static javassist.CtClass makeInvocationClassNoCtors(AOPClassPool pool,
boolean makeInnerClass,
javassist.CtClass outerClass,
String className,
javassist.CtClass superInvocation)
throws javassist.CannotCompileException,
javassist.NotFoundException
- Throws:
javassist.CannotCompileException
javassist.NotFoundException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.