| Apache Ignite C++

Public Member Functions | List of all members
ignite::jni::JavaGlobalRef Class Reference

Represents global reference to Java object. More...

`#include <utils.h>`

## Public Member Functions
| JavaGlobalRef ()
| Default constructor.
| JavaGlobalRef (common::concurrent::SharedPointer< java::JniContext > &ctx, jobject obj)
| Constructor. More...
| JavaGlobalRef (const JavaGlobalRef &other)
| Copy constructor. More...
JavaGlobalRef & | operator= (const JavaGlobalRef &other)
| Assignment operator. More...
| ~JavaGlobalRef ()
| Destructor.
jobject | Get ()
| Get object. More...

## Detailed Description

Represents global reference to Java object.

## Constructor & Destructor Documentation

## ◆ JavaGlobalRef() [1/2]

ignite::jni::JavaGlobalRef::JavaGlobalRef | ( | common::concurrent::SharedPointer< java::JniContext > & | ctx,
|  | jobject | obj
| ) |  |
| inline

Constructor.

Parameters

  ctx | JNI context.
  obj | Java object.

## ◆ JavaGlobalRef() [2/2]

ignite::jni::JavaGlobalRef::JavaGlobalRef | ( | const JavaGlobalRef & | other | ) |
| inline

Copy constructor.

Parameters

  other | Other instance.

## Member Function Documentation

## ◆ Get()

jobject ignite::jni::JavaGlobalRef::Get | ( |  | ) |
| inline

Get object.

Returns
  Object.

## ◆ operator=()

JavaGlobalRef& ignite::jni::JavaGlobalRef::operator= | ( | const JavaGlobalRef & | other | ) |
| inline

Assignment operator.

Parameters

  other | Other instance.

Returns
  *this.

The documentation for this class was generated from the following file:

- utils.h