|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.support.MethodOverrides
public class MethodOverrides
Set of method overrides, determining which, if any, methods on a managed object the Spring IoC container will override at runtime.
The currently supported MethodOverride variants are LookupOverride and ReplaceOverride.
MethodOverride
,
LookupOverride
,
ReplaceOverride
Constructor Summary | |
---|---|
MethodOverrides()
Create new MethodOverrides. |
|
MethodOverrides(MethodOverrides other)
Deep copy constructor. |
Method Summary | |
---|---|
void |
addOverride(MethodOverride override)
Add the given method override. |
void |
addOverrides(MethodOverrides other)
Copy all given method overrides into this object. |
boolean |
equals(Object o)
|
MethodOverride |
getOverride(Method method)
Return the override for the given method, if any. |
Set |
getOverrides()
Return all method overrides contained by this object. |
int |
hashCode()
|
boolean |
isEmpty()
Return whether the set of method overrides is empty. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodOverrides()
public MethodOverrides(MethodOverrides other)
Method Detail |
---|
public void addOverrides(MethodOverrides other)
public void addOverride(MethodOverride override)
public Set getOverrides()
MethodOverride
public boolean isEmpty()
public MethodOverride getOverride(Method method)
method
- method to check for overrides for
null
if nonepublic boolean equals(Object o)
public int hashCode()
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |