[openrtm-commit:00358] r543 - branches/work/ForComponentObserverConsumer/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 8月 14日 (日) 10:07:57 JST
Author: fsi-katami
Date: 2011-08-14 10:07:56 +0900 (Sun, 14 Aug 2011)
New Revision: 543
Modified:
branches/work/ForComponentObserverConsumer/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ComponentObserverConsumer.java
Log:
Implemented ComponentObserverConsumer. refs #2051
Modified: branches/work/ForComponentObserverConsumer/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ComponentObserverConsumer.java
===================================================================
--- branches/work/ForComponentObserverConsumer/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ComponentObserverConsumer.java 2011-08-13 07:59:20 UTC (rev 542)
+++ branches/work/ForComponentObserverConsumer/jp.go.aist.rtm.RTC/src/jp/go/aist/rtm/RTC/ComponentObserverConsumer.java 2011-08-14 01:07:56 UTC (rev 543)
@@ -1,5 +1,6 @@
package jp.go.aist.rtm.RTC;
+import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.lang.Exception;
@@ -241,7 +242,7 @@
if (!pre.v.booleanValue() && next) {
try {
Class clazz = obj.getClass();
- Method method = clazz.getMethod(setfunc,null);
+ Method method = clazz.getDeclaredMethod(setfunc,null);
method.invoke(obj, null);
}
catch(Exception e){
@@ -253,7 +254,7 @@
else if (pre.v.booleanValue() && !next) {
try {
Class clazz = obj.getClass();
- Method method = clazz.getMethod(unsetfunc,null);
+ Method method = clazz.getDeclaredMethod(unsetfunc,null);
method.invoke(obj, null);
}
catch(Exception e){
openrtm-commit メーリングリストの案内