Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » core » [javadoc | source]
org.springframework.core
public interface: ControlFlow [javadoc | source]

All Known Implementing Classes:
    Jdk14ControlFlow

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.
Method from org.springframework.core.ControlFlow Summary:
under,   under,   underToken
Method from org.springframework.core.ControlFlow Detail:
 public boolean under(Class clazz)
    Detect whether we're under the given class, according to the current stack trace.
 public boolean under(Class clazz,
    String methodName)
    Detect whether we're under the given class and method, according to the current stack trace.
 public boolean underToken(String token)
    Detect whether the current stack trace contains the given token.