Package org.springframework.core
Interface ControlFlow
@Deprecated public interface ControlFlow
Deprecated.as of Spring Framework 4.3.6Interface 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.- Since:
- 02.02.2004
- Author:
- Rod Johnson
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
under(Class<?> clazz)
Deprecated.Detect whether we're under the given class, according to the current stack trace.boolean
under(Class<?> clazz, String methodName)
Deprecated.Detect whether we're under the given class and method, according to the current stack trace.boolean
underToken(String token)
Deprecated.Detect whether the current stack trace contains the given token.
Method Detail
under
boolean under(Class<?> clazz)
Deprecated.Detect whether we're under the given class, according to the current stack trace.- Parameters:
clazz
- the clazz to look for
under
boolean under(Class<?> clazz, String methodName)
Deprecated.Detect whether we're under the given class and method, according to the current stack trace.- Parameters:
clazz
- the clazz to look formethodName
- the name of the method to look for
underToken
boolean underToken(String token)
Deprecated.Detect whether the current stack trace contains the given token.- Parameters:
token
- the token to look for