org.codehaus.aspectwerkz.transform.delegation
Class HandlerTransformer
java.lang.Object
org.codehaus.aspectwerkz.transform.delegation.HandlerTransformer
- All Implemented Interfaces:
- Transformer
- public class HandlerTransformer
- extends Object
- implements Transformer
Advises HANDLER join points.
- Author:
- Jonas Bonér
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerTransformer
public HandlerTransformer()
transform
public void transform(Context context,
Klass klass)
throws javassist.NotFoundException,
javassist.CannotCompileException
- Transforms the call side pointcuts.
- Specified by:
transform
in interface Transformer
- Parameters:
context
- the transformation contextklass
- the class set.
- Throws:
javassist.NotFoundException
javassist.CannotCompileException
classFilter
public static boolean classFilter(SystemDefinition definition,
ExpressionContext ctx,
javassist.CtClass cg)
- Filters the classes to be transformed.
- Parameters:
definition
- the definitionctx
- the contextcg
- the class to filter
- Returns:
- boolean true if the method should be filtered away
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.