Java and JNI support for collection resource. 79/3979/4
authorHarish Kumara Marappa <h.marappa@samsung.com>
Thu, 29 Oct 2015 17:12:35 +0000 (22:42 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Fri, 30 Oct 2015 02:32:04 +0000 (02:32 +0000)
commite6c05af184acc0e4ceae70e1e98066972dd221fd
treebacdffa96a6c265520add163f233bdc7bb200bbe
parent258bca9409deb041e30084c9b4568ad7f1c19dbf
Java and JNI support for collection resource.

Implementation of collection resource in Java and JNI layer. Implementation of
SimulatorResourceModel java class to maintain all the attributes in java layer
itself.

Change-Id: Idb2ec54a2f599749f8155bbf1d9df7cc92a7d981
Signed-off-by: Harish Kumara Marappa <h.marappa@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3979
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
70 files changed:
service/simulator/java/jni/jni_listener_holder.h [new file with mode: 0644]
service/simulator/java/jni/jni_queryparam.cpp [new file with mode: 0644]
service/simulator/java/jni/jni_queryparam.h [moved from service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/SimulatorObserveType.java with 58% similarity]
service/simulator/java/jni/jni_sharedobject_holder.h [new file with mode: 0644]
service/simulator/java/jni/jni_string.cpp [new file with mode: 0644]
service/simulator/java/jni/jni_string.h [moved from service/simulator/java/sdk/src/org/oic/simulator/serviceprovider/AutomationType.java with 57% similarity]
service/simulator/java/jni/jni_vector.cpp [new file with mode: 0644]
service/simulator/java/jni/jni_vector.h [new file with mode: 0644]
service/simulator/java/jni/resource_attributes_jni.cpp [deleted file]
service/simulator/java/jni/resource_attributes_jni.h [deleted file]
service/simulator/java/jni/simulator_collection_resource_jni.cpp [new file with mode: 0644]
service/simulator/java/jni/simulator_common_jni.h [deleted file]
service/simulator/java/jni/simulator_device_info_jni.cpp
service/simulator/java/jni/simulator_device_info_jni.h
service/simulator/java/jni/simulator_exceptions_jni.cpp [new file with mode: 0644]
service/simulator/java/jni/simulator_exceptions_jni.h [moved from service/simulator/java/jni/simulator_jni_utils.h with 65% similarity]
service/simulator/java/jni/simulator_init_jni.cpp [new file with mode: 0644]
service/simulator/java/jni/simulator_jni_utils.cpp [deleted file]
service/simulator/java/jni/simulator_manager_jni.cpp
service/simulator/java/jni/simulator_manager_jni.h [deleted file]
service/simulator/java/jni/simulator_platform_info_jni.cpp
service/simulator/java/jni/simulator_platform_info_jni.h
service/simulator/java/jni/simulator_remote_resource_jni.cpp
service/simulator/java/jni/simulator_remote_resource_jni.h [deleted file]
service/simulator/java/jni/simulator_resource_jni.cpp [new file with mode: 0644]
service/simulator/java/jni/simulator_resource_jni_util.cpp [deleted file]
service/simulator/java/jni/simulator_resource_jni_util.h [deleted file]
service/simulator/java/jni/simulator_resource_model_jni.cpp
service/simulator/java/jni/simulator_resource_model_jni.h
service/simulator/java/jni/simulator_resource_server_jni.cpp [deleted file]
service/simulator/java/jni/simulator_resource_server_jni.h [deleted file]
service/simulator/java/jni/simulator_resource_utils_jni.cpp [new file with mode: 0644]
service/simulator/java/jni/simulator_resource_utils_jni.h [new file with mode: 0644]
service/simulator/java/jni/simulator_single_resource_jni.cpp [new file with mode: 0644]
service/simulator/java/jni/simulator_utils_jni.cpp [new file with mode: 0644]
service/simulator/java/jni/simulator_utils_jni.h [new file with mode: 0644]
service/simulator/java/sdk/src/org/oic/simulator/AttributeProperty.java [new file with mode: 0644]
service/simulator/java/sdk/src/org/oic/simulator/AttributeValue.java [new file with mode: 0644]
service/simulator/java/sdk/src/org/oic/simulator/DeviceInfo.java
service/simulator/java/sdk/src/org/oic/simulator/DeviceListener.java [moved from service/simulator/java/sdk/src/org/oic/simulator/IDeviceInfo.java with 85% similarity]
service/simulator/java/sdk/src/org/oic/simulator/IAutomation.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/ILogger.java
service/simulator/java/sdk/src/org/oic/simulator/InvalidArgsException.java
service/simulator/java/sdk/src/org/oic/simulator/NoSupportException.java
service/simulator/java/sdk/src/org/oic/simulator/OperationInProgressException.java
service/simulator/java/sdk/src/org/oic/simulator/PlatformInfo.java
service/simulator/java/sdk/src/org/oic/simulator/PlatformListener.java [moved from service/simulator/java/sdk/src/org/oic/simulator/IPlatformInfo.java with 84% similarity]
service/simulator/java/sdk/src/org/oic/simulator/ResourceAttribute.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/SimulatorException.java
service/simulator/java/sdk/src/org/oic/simulator/SimulatorManager.java
service/simulator/java/sdk/src/org/oic/simulator/SimulatorManagerNativeInterface.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/SimulatorResourceAttribute.java [new file with mode: 0644]
service/simulator/java/sdk/src/org/oic/simulator/SimulatorResourceModel.java
service/simulator/java/sdk/src/org/oic/simulator/SimulatorResult.java
service/simulator/java/sdk/src/org/oic/simulator/client/FindResourceListener.java [moved from service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/IFindResourceListener.java with 68% similarity]
service/simulator/java/sdk/src/org/oic/simulator/client/SimulatorConnectivityType.java [moved from service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/SimulatorConnectivityType.java with 98% similarity]
service/simulator/java/sdk/src/org/oic/simulator/client/SimulatorRemoteResource.java [moved from service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/SimulatorRemoteResource.java with 55% similarity]
service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/IGetListener.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/IObserveListener.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/IPostListener.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/IPutListener.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/IVerificationListener.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/clientcontroller/SimulatorVerificationType.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/server/Observer.java [moved from service/simulator/java/sdk/src/org/oic/simulator/serviceprovider/ObserverInfo.java with 76% similarity]
service/simulator/java/sdk/src/org/oic/simulator/server/SimulatorCollectionResource.java [new file with mode: 0644]
service/simulator/java/sdk/src/org/oic/simulator/server/SimulatorResource.java [new file with mode: 0644]
service/simulator/java/sdk/src/org/oic/simulator/server/SimulatorSingleResource.java [new file with mode: 0644]
service/simulator/java/sdk/src/org/oic/simulator/serviceprovider/IObserver.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/serviceprovider/IResourceModelChangedListener.java [deleted file]
service/simulator/java/sdk/src/org/oic/simulator/serviceprovider/SimulatorResourceServer.java [deleted file]