blob: 7b7db9aa9f70caa443f1d96daedc9a2457a6aeaa [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.2.0/dotnetdoc/class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>Apache Ignite.NET: Apache.Ignite.Core.Interop.JavaObject Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Apache Ignite.NET
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Apache.Ignite.Core.Interop.JavaObject Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents a Java object wrapper.
<a href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a38c4641f26437e93903697764947d9d2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html#a38c4641f26437e93903697764947d9d2">JavaObject</a> (string className)</td></tr>
<tr class="memdesc:a38c4641f26437e93903697764947d9d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html" title="Represents a Java object wrapper. ">JavaObject</a> class. <a href="#a38c4641f26437e93903697764947d9d2">More...</a><br /></td></tr>
<tr class="separator:a38c4641f26437e93903697764947d9d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44217ba3304397129ebfd48313833a7c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html#a44217ba3304397129ebfd48313833a7c">JavaObject</a> (string className, IDictionary&lt; string, object &gt; properties)</td></tr>
<tr class="memdesc:a44217ba3304397129ebfd48313833a7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a new instance of the <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html" title="Represents a Java object wrapper. ">JavaObject</a> class. <a href="#a44217ba3304397129ebfd48313833a7c">More...</a><br /></td></tr>
<tr class="separator:a44217ba3304397129ebfd48313833a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a0b3951a4158f96eb4768ad4cc06537aa"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html#a0b3951a4158f96eb4768ad4cc06537aa">ClassName</a><code> [get]</code></td></tr>
<tr class="memdesc:a0b3951a4158f96eb4768ad4cc06537aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Java class name. <a href="#a0b3951a4158f96eb4768ad4cc06537aa">More...</a><br /></td></tr>
<tr class="separator:a0b3951a4158f96eb4768ad4cc06537aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1283cd7561f8cda9989636d5fb0c0f6"><td class="memItemLeft" align="right" valign="top">IDictionary&lt; string, object &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html#ac1283cd7561f8cda9989636d5fb0c0f6">Properties</a><code> [get]</code></td></tr>
<tr class="memdesc:ac1283cd7561f8cda9989636d5fb0c0f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the properties to be set on the Java object. <a href="#ac1283cd7561f8cda9989636d5fb0c0f6">More...</a><br /></td></tr>
<tr class="separator:ac1283cd7561f8cda9989636d5fb0c0f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html" title="Represents a Java object wrapper. ">JavaObject</a> can be converted to Ignite filters and predicates which can be used on non-.NET Ignite nodes. </p>
<p>Workflow is as follows: Instantiate specified Java class; Set property values; If the resulting object implements PlatformJavaObjectFactory, call create() method and use the result, otherwise use the original object. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a38c4641f26437e93903697764947d9d2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Apache.Ignite.Core.Interop.JavaObject.JavaObject </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>className</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">className</td><td>Name of the Java class.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a44217ba3304397129ebfd48313833a7c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Apache.Ignite.Core.Interop.JavaObject.JavaObject </td>
<td>(</td>
<td class="paramtype">string&#160;</td>
<td class="paramname"><em>className</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">IDictionary&lt; string, object &gt;&#160;</td>
<td class="paramname"><em>properties</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">className</td><td>Name of the Java class.</td></tr>
<tr><td class="paramname">properties</td><td>The properties to set on the Java object.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a0b3951a4158f96eb4768ad4cc06537aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">string Apache.Ignite.Core.Interop.JavaObject.ClassName</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac1283cd7561f8cda9989636d5fb0c0f6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IDictionary&lt;string, object&gt; Apache.Ignite.Core.Interop.JavaObject.Properties</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespace_apache.html">Apache</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite.html">Ignite</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core.html">Core</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_interop.html">Interop</a></li><li class="navelem"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_interop_1_1_java_object.html">JavaObject</a></li>
<li class="footer">Generated on Fri Sep 15 2017 11:37:30 for Apache Ignite.NET by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
</ul>
</div>
</body>
</html>