IOT-2773 Add Introspection to Java 89/22689/3
authorGeorge Nash <george.nash@intel.com>
Wed, 4 Oct 2017 23:36:35 +0000 (16:36 -0700)
committerRick Bell <richard.s.bell@intel.com>
Fri, 6 Oct 2017 16:19:11 +0000 (16:19 +0000)
commit3040a9e4ab81d6b4485bcb390a643955719ab8f5
tree1e0ddf4a3c0e939fa6c86fa1942899d70fccf754
parentf18ad15b2688a243a4be2e97add7644df2bc12af
IOT-2773 Add Introspection to Java

This adds the ability to register the introspection file
to java applications.

The client_open callback function is miss named as
JniOcSecurity. This should probably be renamed
JniOcPersistantStorage or something similar.

The class was not renamed to avoid causing an
unforseen bug due to name change.

Bug: https://jira.iotivity.org/browse/IOT-2773
Change-Id: Ifd19ee4c4bfa91e6596d64976008b8d471e4f87a
Signed-off-by: George Nash <george.nash@intel.com>
12 files changed:
java/examples-java/simpleserver/SConscript
java/examples-java/simpleserver/src/main/assets/light_introspection.dat [new file with mode: 0644]
java/examples-java/simpleserver/src/main/assets/light_introspection.json [new file with mode: 0644]
java/examples-java/simpleserver/src/main/java/org/iotivity/base/examples/SimpleServer.java
java/iotivity-android/src/main/java/org/iotivity/base/OcPlatform.java
java/iotivity-android/src/main/java/org/iotivity/base/PlatformConfig.java
java/iotivity-java/src/main/java/org/iotivity/base/OcPlatform.java
java/iotivity-java/src/main/java/org/iotivity/base/PlatformConfig.java
java/jni/JniOcPlatform.cpp
java/jni/JniOcPlatform.h
java/jni/JniOcSecurity.cpp
java/jni/JniOcSecurity.h