jni bindings for discover adapters