summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Campo2008-01-24 11:38:57 (EST)
committerChristian Campo2008-01-24 11:38:57 (EST)
commit02a88503d8d46aaba4bf63ccc55301e75af19bc3 (patch)
tree7bfca9de9ebf4422ecb35c9856176da0fee01024
parent20ab1b4e54d51bf12ec30abf466c4afd2757032e (diff)
downloadorg.eclipse.riena-02a88503d8d46aaba4bf63ccc55301e75af19bc3.zip
org.eclipse.riena-02a88503d8d46aaba4bf63ccc55301e75af19bc3.tar.gz
org.eclipse.riena-02a88503d8d46aaba4bf63ccc55301e75af19bc3.tar.bz2
replace getDeclaredMethods with getMethods so that methods in super types are found
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/core/service/ServiceInjector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.riena.core/src/org/eclipse/riena/core/service/ServiceInjector.java b/org.eclipse.riena.core/src/org/eclipse/riena/core/service/ServiceInjector.java
index 59929ca..7c4b5d4 100644
--- a/org.eclipse.riena.core/src/org/eclipse/riena/core/service/ServiceInjector.java
+++ b/org.eclipse.riena.core/src/org/eclipse/riena/core/service/ServiceInjector.java
@@ -111,7 +111,7 @@ public class ServiceInjector {
}
public boolean methodExists(Object target, String methodName) {
- Method[] methods = target.getClass().getDeclaredMethods();
+ Method[] methods = target.getClass().getMethods();
for (Method method : methods) {
if (method.getName().equals(methodName)) {
return true;