|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.support.MethodOverride
Object representing the override of a method on a managed object by the IoC container.
Note that the override mechanism is not intended as a generic means of inserting crosscutting code: use AOP for that.
Constructor Summary | |
protected |
MethodOverride(String methodName)
Create a new override for the given method. |
Method Summary | |
String |
getMethodName()
Return the name of the method to be overridden. |
abstract boolean |
matches(Method method,
MethodOverrides overrides)
Subclasses must override this to indicate whether they match the given method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected MethodOverride(String methodName)
methodName
- the name of the method to be overriddenMethod Detail |
public String getMethodName()
public abstract boolean matches(Method method, MethodOverrides overrides)
method
- the method to checkoverrides
- owning MethodOverrides object.
This allows us to check whether the method is overloaded.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |