org.codehaus.aspectwerkz.cflow
Class AbstractCflowSystemAspect

java.lang.Object
  extended by 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

Field Summary
 ThreadLocal m_cflowStackLocal
           
 
Constructor Summary
AbstractCflowSystemAspect()
           
 
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
 

Field Detail

m_cflowStackLocal

public ThreadLocal m_cflowStackLocal
Constructor Detail

AbstractCflowSystemAspect

public AbstractCflowSystemAspect()
Method Detail

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.