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