ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-2940) .NET: Plugin system
Date Thu, 29 Sep 2016 16:12:21 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533058#comment-15533058
] 

Pavel Tupitsyn edited comment on IGNITE-2940 at 9/29/16 4:12 PM:
-----------------------------------------------------------------

Proposed implementation:
* On Java side, extension is added to the classpath
* There is a PlatformProcessor method to retrieve an instance of extension by class name;
platform context is injected via ctor

* On .NET side we call the method and retrieve IUnmanagedTarget same way as with Compute,
Cache, etc
* For Java -> .NET callbacks, we already have UnmanagedCallbacks.ExtensionCallback. There
should be a possibility to inject custom callbacks

This will allow "on demand" plugins: nothing happens until user invokes a plugged in functionality.

For deeper integration, we may need to implement something like existing plugin system in
Java where the classpath is scanned on start.


was (Author: ptupitsyn):
Proposed implementation:
* On Java side, extension is added to the classpath
* There is a PlatformProcessor method to retrieve an instance of extension by class name;
platform context is injected via ctor

* On .NET side we call the method and retrieve IUnmanagedTarget same way as with Compute,
Cache, etc
* For Java -> .NET callbacks, we already have UnmanagedCallbacks.ExtensionCallback. There
should be a possibility to inject custom callbacks

> .NET: Plugin system
> -------------------
>
>                 Key: IGNITE-2940
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2940
>             Project: Ignite
>          Issue Type: New Feature
>          Components: platforms
>    Affects Versions: 1.1.4
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .net, roadmap
>
> Implement a plugin system to allow extending Ignite functionality by third parties.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message