接口 ControlFlow
@Deprecated public interface ControlFlow
已过时。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.- 从以下版本开始:
- 02.02.2004
- 作者:
- Rod Johnson
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 boolean
under(Class<?> clazz)
已过时。Detect whether we're under the given class, according to the current stack trace.boolean
under(Class<?> clazz, String methodName)
已过时。Detect whether we're under the given class and method, according to the current stack trace.boolean
underToken(String token)
已过时。Detect whether the current stack trace contains the given token.
方法详细资料
under
boolean under(Class<?> clazz)
已过时。Detect whether we're under the given class, according to the current stack trace.- 参数:
clazz
- the clazz to look for
under
boolean under(Class<?> clazz, String methodName)
已过时。Detect whether we're under the given class and method, according to the current stack trace.- 参数:
clazz
- the clazz to look formethodName
- the name of the method to look for
underToken
boolean underToken(String token)
已过时。Detect whether the current stack trace contains the given token.- 参数:
token
- the token to look for