org.springframework.core
Interface ControlFlow

All Known Implementing Classes:
ControlFlowFactory.Jdk13ControlFlow, ControlFlowFactory.Jdk14ControlFlow

public interface ControlFlow

Interface to be implemented by objects that can return information about the current call stack. Useful in AOP (as in AspectJ cflow concept) but not AOP-specific.

Author:
Rod Johnson
Version: $Id: ControlFlow.java,v 1.1 2004/02/02 11:22:31 jhoeller Exp $

Method Summary
 booleanunder(Class clazz)
           
 booleanunder(Class clazz, String methodName)
          Matches whole method name.
 booleanunderToken(String token)
           

Method Detail

under

public boolean under(Class clazz)

under

public boolean under(Class clazz, String methodName)
Matches whole method name.

underToken

public boolean underToken(String token)