17 #ifndef _IGNITE_JNI_UTILS 
   18 #define _IGNITE_JNI_UTILS 
   22 #include <ignite/common/common.h> 
   23 #include <ignite/common/concurrent.h> 
   24 #include <ignite/jni/java.h> 
   68             JavaGlobalRef(common::concurrent::SharedPointer<java::JniContext>& ctx, jobject obj)
 
   82                 Init(other.ctx, other.obj);
 
   95                     java::JniContext::Release(obj);
 
   97                     Init(other.ctx, other.obj);
 
  108                 java::JniContext::Release(obj);
 
  123             void Init(
const common::concurrent::SharedPointer<java::JniContext>& ctx0, jobject obj0) {
 
  127                     this->obj = ctx.Get()->Acquire(obj0);
 
  131             common::concurrent::SharedPointer<java::JniContext> ctx;
 
  145         IGNITE_IMPORT_EXPORT std::string FindJvmLibrary(
const std::string& path);
 
  153         IGNITE_IMPORT_EXPORT 
bool LoadJvmLibrary(
const std::string& path);
 
  162         IGNITE_IMPORT_EXPORT std::string CreateIgniteHomeClasspath(
const std::string& home, 
bool forceTest);
 
  171         IGNITE_IMPORT_EXPORT std::string CreateIgniteClasspath(
const std::string& usrCp, 
const std::string& home);
 
  186         IGNITE_IMPORT_EXPORT std::string ResolveIgniteHome(
const std::string& path = 
"");
 
  190 #endif //_IGNITE_JNI_UTILS