org.codehaus.aspectwerkz.transform.delegation
Class DelegationWeavingStrategy
java.lang.Object
org.codehaus.aspectwerkz.transform.delegation.DelegationWeavingStrategy
- All Implemented Interfaces:
- WeavingStrategy
- public class DelegationWeavingStrategy
- extends Object
- implements WeavingStrategy
A weaving strategy implementing a weaving scheme based on delegation.
- Author:
- Jonas Bonér , Alexandre Vasseur
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegationWeavingStrategy
public DelegationWeavingStrategy()
initialize
public void initialize(Hashtable params)
- Initializes the transformer stack.
- Specified by:
initialize
in interface WeavingStrategy
- Parameters:
params
- not used
transform
public void transform(String className,
Context context)
- Transforms the class.
- Specified by:
transform
in interface WeavingStrategy
- Parameters:
className
- context
-
- Returns:
newContext
public Context newContext(String name,
byte[] bytecode,
ClassLoader loader)
- Creates a new transformation context.
- Specified by:
newContext
in interface WeavingStrategy
- Parameters:
name
- bytecode
- loader
-
- Returns:
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.