blob: 17a3dc634dbf7dcbb88a595b7615d66698d46fd6 [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/interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.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.Plugin.IPluginContext&lt; out out T &gt; Interface Template 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('interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.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="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Apache.Ignite.Core.Plugin.IPluginContext&lt; out out T &gt; Interface Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Plugin execution context.
<a href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.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:a8ec7c29270334ef8c9685284415a9e13"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_interop_1_1_i_platform_target.html">IPlatformTarget</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html#a8ec7c29270334ef8c9685284415a9e13">GetExtension</a> (int id)</td></tr>
<tr class="memdesc:a8ec7c29270334ef8c9685284415a9e13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a reference to plugin extension on Java side. <a href="#a8ec7c29270334ef8c9685284415a9e13">More...</a><br /></td></tr>
<tr class="separator:a8ec7c29270334ef8c9685284415a9e13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1b358dbba51a4f1398d03c63a62daeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html#ae1b358dbba51a4f1398d03c63a62daeb">RegisterExceptionMapping</a> (string className, ExceptionFactory factory)</td></tr>
<tr class="memdesc:ae1b358dbba51a4f1398d03c63a62daeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers custom exception mapping: when Java exception of specified class occurs, it will be mapped using provided factory delegate. <a href="#ae1b358dbba51a4f1398d03c63a62daeb">More...</a><br /></td></tr>
<tr class="separator:ae1b358dbba51a4f1398d03c63a62daeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a493e580c2a769e9d2d9dbbc88edae91c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html#a493e580c2a769e9d2d9dbbc88edae91c">RegisterCallback</a> (long callbackId, <a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_plugin.html#a3f4745160dcc706eb67ebcaba592ee3f">PluginCallback</a> callback)</td></tr>
<tr class="memdesc:a493e580c2a769e9d2d9dbbc88edae91c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers Java-&gt;.NET callback. <a href="#a493e580c2a769e9d2d9dbbc88edae91c">More...</a><br /></td></tr>
<tr class="separator:a493e580c2a769e9d2d9dbbc88edae91c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d9b2fe2852c6dbd3eff982fc609ffb8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html#a4d9b2fe2852c6dbd3eff982fc609ffb8">InjectResources</a> (object target)</td></tr>
<tr class="memdesc:a4d9b2fe2852c6dbd3eff982fc609ffb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Injects resources into specified target: populates members marked with InstanceResourceAttribute. <a href="#a4d9b2fe2852c6dbd3eff982fc609ffb8">More...</a><br /></td></tr>
<tr class="separator:a4d9b2fe2852c6dbd3eff982fc609ffb8"><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:aa3da3fab5d0cda4e34d4532fcedbac5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_i_ignite.html">IIgnite</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html#aa3da3fab5d0cda4e34d4532fcedbac5c">Ignite</a><code> [get]</code></td></tr>
<tr class="memdesc:aa3da3fab5d0cda4e34d4532fcedbac5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Ignite. <a href="#aa3da3fab5d0cda4e34d4532fcedbac5c">More...</a><br /></td></tr>
<tr class="separator:aa3da3fab5d0cda4e34d4532fcedbac5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33310acae102c847016cbc0827678736"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_ignite_configuration.html">IgniteConfiguration</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html#a33310acae102c847016cbc0827678736">IgniteConfiguration</a><code> [get]</code></td></tr>
<tr class="memdesc:a33310acae102c847016cbc0827678736"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Ignite configuration. <a href="#a33310acae102c847016cbc0827678736">More...</a><br /></td></tr>
<tr class="separator:a33310acae102c847016cbc0827678736"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25a21cb1604718fab2d6cb848451ab5d"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html#a25a21cb1604718fab2d6cb848451ab5d">PluginConfiguration</a><code> [get]</code></td></tr>
<tr class="memdesc:a25a21cb1604718fab2d6cb848451ab5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the plugin configuration. <a href="#a25a21cb1604718fab2d6cb848451ab5d">More...</a><br /></td></tr>
<tr class="separator:a25a21cb1604718fab2d6cb848451ab5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_configuration.html">IPluginConfiguration</a></em></td><td>&#160;</td></tr>
</table>
</dl>
</div>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8ec7c29270334ef8c9685284415a9e13"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_interop_1_1_i_platform_target.html">IPlatformTarget</a> <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html">Apache.Ignite.Core.Plugin.IPluginContext</a>&lt; out out T &gt;.GetExtension </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>id</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Extensions on Java side are configured via PluginProvider.initExtensions(). Extension should implement PlatformExtension interface to be accessible from this method. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>Extension id. Equal to PlatformExtension.id().</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to a plugin extension on Java side.</dd></dl>
</div>
</div>
<a class="anchor" id="a4d9b2fe2852c6dbd3eff982fc609ffb8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html">Apache.Ignite.Core.Plugin.IPluginContext</a>&lt; out out T &gt;.InjectResources </td>
<td>(</td>
<td class="paramtype">object&#160;</td>
<td class="paramname"><em>target</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">target</td><td>Target object.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a493e580c2a769e9d2d9dbbc88edae91c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html">Apache.Ignite.Core.Plugin.IPluginContext</a>&lt; out out T &gt;.RegisterCallback </td>
<td>(</td>
<td class="paramtype">long&#160;</td>
<td class="paramname"><em>callbackId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_plugin.html#a3f4745160dcc706eb67ebcaba592ee3f">PluginCallback</a>&#160;</td>
<td class="paramname"><em>callback</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">callbackId</td><td>Callback id.</td></tr>
<tr><td class="paramname">callback</td><td>Callback delegate.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae1b358dbba51a4f1398d03c63a62daeb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html">Apache.Ignite.Core.Plugin.IPluginContext</a>&lt; out out T &gt;.RegisterExceptionMapping </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">ExceptionFactory&#160;</td>
<td class="paramname"><em>factory</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 exception class to be mapped.</td></tr>
<tr><td class="paramname">factory</td><td>Exception factory delegate.</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="aa3da3fab5d0cda4e34d4532fcedbac5c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_i_ignite.html">IIgnite</a> <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html">Apache.Ignite.Core.Plugin.IPluginContext</a>&lt; out out T &gt;.Ignite</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="a33310acae102c847016cbc0827678736"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_ignite_configuration.html">IgniteConfiguration</a> <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html">Apache.Ignite.Core.Plugin.IPluginContext</a>&lt; out out T &gt;.<a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_ignite_configuration.html">IgniteConfiguration</a></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="a25a21cb1604718fab2d6cb848451ab5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html">Apache.Ignite.Core.Plugin.IPluginContext</a>&lt; out out T &gt;.PluginConfiguration</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_plugin.html">Plugin</a></li><li class="navelem"><a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_plugin_1_1_i_plugin_context.html">IPluginContext</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>