org.codehaus.aspectwerkz.cflow
Class AbstractCflowSystemAspect
java.lang.Object
org.codehaus.aspectwerkz.cflow.AbstractCflowSystemAspect
public abstract class AbstractCflowSystemAspect
- extends Object
An abstraction for the JIT gen cflow aspects.
A concrete JIT gen cflow aspect *class* will be generated per
cflow sub expression with a consistent naming scheme aka cflowID.
The concrete cflow class will extends this one and implements two static methods.
See the sample nested class.
Note: the Cflow implements a real aspectOf singleton scheme and is not visible to Aspects.aspectOf
- Author:
- Alexandre Vasseur
Method Summary |
void |
enter()
before advice when entering this cflow |
void |
exit()
after finally advice when exiting this cflow |
boolean |
inCflow()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_cflowStackLocal
public ThreadLocal m_cflowStackLocal
AbstractCflowSystemAspect
public AbstractCflowSystemAspect()
enter
public void enter()
- before advice when entering this cflow
exit
public void exit()
- after finally advice when exiting this cflow
inCflow
public boolean inCflow()
- Returns:
- true if in the cflow
Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.