Apache Ignite.NET
|
Plugin execution context. More...
Public Member Functions | |
IPlatformTarget | GetExtension (int id) |
Gets a reference to plugin extension on Java side. More... | |
void | RegisterExceptionMapping (string className, ExceptionFactory factory) |
Registers custom exception mapping: when Java exception of specified class occurs, it will be mapped using provided factory delegate. More... | |
void | RegisterCallback (long callbackId, PluginCallback callback) |
Registers Java->.NET callback. More... | |
void | InjectResources (object target) |
Injects resources into specified target: populates members marked with InstanceResourceAttribute. More... | |
Properties | |
IIgnite | Ignite [get] |
Gets the Ignite. More... | |
IgniteConfiguration | IgniteConfiguration [get] |
Gets the Ignite configuration. More... | |
T | PluginConfiguration [get] |
Gets the plugin configuration. More... | |
T | : | IPluginConfiguration |
IPlatformTarget Apache.Ignite.Core.Plugin.IPluginContext< out out T >.GetExtension | ( | int | id | ) |
Extensions on Java side are configured via PluginProvider.initExtensions(). Extension should implement PlatformExtension interface to be accessible from this method.
id | Extension id. Equal to PlatformExtension.id(). |
void Apache.Ignite.Core.Plugin.IPluginContext< out out T >.InjectResources | ( | object | target | ) |
target | Target object. |
void Apache.Ignite.Core.Plugin.IPluginContext< out out T >.RegisterCallback | ( | long | callbackId, |
PluginCallback | callback | ||
) |
callbackId | Callback id. |
callback | Callback delegate. |
void Apache.Ignite.Core.Plugin.IPluginContext< out out T >.RegisterExceptionMapping | ( | string | className, |
ExceptionFactory | factory | ||
) |
className | Name of the Java exception class to be mapped. |
factory | Exception factory delegate. |
|
get |
|
get |