You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Aaron Anderson <aa...@acm.org> on 2018/11/05 23:18:33 UTC

Dependency resource injection with OpenWebBeans CDI instead of Spring

Hi,
I would like to configure Ignite to use OpenWebBeans and CDI to inject fields into deserialized IgniteRunnables instead of using Spring. It looks like org.apache.ignite.internal.processors.resource.GridResourceInjector is available for this purpose. Is there an easy way to register a custom implementation of this interface with Ignite? 
Additionally, do fields intended to be injection points need to use the transient keyword so they are not inadvertently serialized or is there another way to handle that?
Thanks,
Aaron

Re: Dependency resource injection with OpenWebBeans CDI instead of Spring

Posted by "ilya.kasnacheev" <il...@gmail.com>.
Hello!

Judging from the .internal. designation of this interface, it doesn't look
like you can meaningfully extend it in your code.

Regards,



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/