general question

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

general question

voipp
Hi, all ! What is the use of GridResourceProcessor ? And its inject() method
Reply | Threaded
Open this post in threaded view
|

Re: general question

Alexey Goncharuk
Aleksei,

This processor handles various @*Resource (@IgniteInstanceResource,
@CacheNameResource, ...) annotations for user-supplied objects, such as
tasks, jobs, entry processors, etc.

--AG

2017-02-13 12:42 GMT+03:00 voipp <[hidden email]>:

> Hi, all ! What is the use of GridResourceProcessor ? And its inject()
> method
>
>
>
> --
> View this message in context: http://apache-ignite-
> developers.2346864.n4.nabble.com/general-question-tp14522.html
> Sent from the Apache Ignite Developers mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: general question

voipp
...and what is the use of inject ?

пн, 13 Фев 2017 г., 17:28 Alexey Goncharuk <[hidden email]>:

> Aleksei,
>
> This processor handles various @*Resource (@IgniteInstanceResource,
> @CacheNameResource, ...) annotations for user-supplied objects, such as
> tasks, jobs, entry processors, etc.
>
> --AG
>
> 2017-02-13 12:42 GMT+03:00 voipp <[hidden email]>:
>
> > Hi, all ! What is the use of GridResourceProcessor ? And its inject()
> > method
> >
> >
> >
> > --
> > View this message in context: http://apache-ignite-
> > developers.2346864.n4.nabble.com/general-question-tp14522.html
> > Sent from the Apache Ignite Developers mailing list archive at
> Nabble.com.
> >
>
--

*Best Regards,*

*Kuznetsov Aleksey*
Reply | Threaded
Open this post in threaded view
|

Re: general question

Alexey Goncharuk
I am not sure I understood the question. Instances of Igntie and other
resources are injected to user objects (for example, closures) so that a
user does not write boilerplate code to obtain a local instance of Ignite,
etc.

Please consult org.apache.ignite.resources package javadoc for more details.

2017-02-13 20:50 GMT+03:00 ALEKSEY KUZNETSOV <[hidden email]>:

> ...and what is the use of inject ?
>
> пн, 13 Фев 2017 г., 17:28 Alexey Goncharuk <[hidden email]>:
>
> > Aleksei,
> >
> > This processor handles various @*Resource (@IgniteInstanceResource,
> > @CacheNameResource, ...) annotations for user-supplied objects, such as
> > tasks, jobs, entry processors, etc.
> >
> > --AG
> >
> > 2017-02-13 12:42 GMT+03:00 voipp <[hidden email]>:
> >
> > > Hi, all ! What is the use of GridResourceProcessor ? And its inject()
> > > method
> > >
> > >
> > >
> > > --
> > > View this message in context: http://apache-ignite-
> > > developers.2346864.n4.nabble.com/general-question-tp14522.html
> > > Sent from the Apache Ignite Developers mailing list archive at
> > Nabble.com.
> > >
> >
> --
>
> *Best Regards,*
>
> *Kuznetsov Aleksey*
>