org.codehaus.aspectwerkz.joinpoint.management
Class JitCompiler
java.lang.Object
org.codehaus.aspectwerkz.joinpoint.management.JitCompiler
- public class JitCompiler
- extends Object
Runtime (Just-In-Time/JIT) compiler.
Compiles a custom JoinPoint class that invokes all advices in a specific
advice chain (at a specific join point) and the target join point statically.
- Author:
- Jonas Bonér , Alexandre Vasseur
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compileJoinPoint
public static JoinPoint compileJoinPoint(int joinPointHash,
int joinPointType,
PointcutType pointcutType,
AdviceIndexInfo[] advice,
Class declaringClass,
Class targetClass,
AspectSystem system,
Object thisInstance,
Object targetInstance,
int hotswapCount)
- Compiles a join point class on the fly that invokes the advice chain and the target join point statically.
- Parameters:
joinPointHash
- the join point hashjoinPointType
- the join point joinPointTypepointcutType
- the pointcut typeadvice
- a list with the advicedeclaringClass
- the declaring classtargetClass
- the currently executing classsystem
- the systemthisInstance
- targetInstance
- hotswapCount
-
- Returns:
- the JIT compiled join point
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.