org.springframework.aop.framework
Class MethodCounter
java.lang.Object
org.springframework.aop.framework.MethodCounter
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CountingBeforeAdvice
public class MethodCounter
- extends Object
- implements Serializable
Useful abstract superclass for counting advices etc.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
MethodCounter
public MethodCounter()
count
protected void count(Method m)
count
protected void count(String methodName)
getCalls
public int getCalls(String methodName)
getCalls
public int getCalls()
equals
public boolean equals(Object other)
- A bit simplistic: just wants the same class. Doesn't worry about counts.
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
Copyright ? 2005-2008 Spring Framework. All Rights Reserved.