You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by tcostasouza <tc...@gmail.com> on 2015/05/26 02:36:19 UTC
Extend ignite's resource injection
Hi,
Is it possible to extend Ignite's injection? When a service is instantiated
in a node, is there any way to intercept it's instantiation and process
annotations?
Regards
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Extend-ignite-s-resource-injection-tp407.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Extend ignite's resource injection
Posted by tcostasouza <tc...@gmail.com>.
Hi,
This seems great! Didn't spot this annotation!
Thanks
On Tue, May 26, 2015, 07:39 yakov [via Apache Ignite Users] <
ml-node+s70518n411h57@n6.nabble.com> wrote:
> It seems that @SpringResource will work for you. Please see javadocs for
> details.
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-ignite-users.70518.x6.nabble.com/Extend-ignite-s-resource-injection-tp407p411.html
> To unsubscribe from Extend ignite's resource injection, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=407&code=dGNvc3Rhc291emFAZ21haWwuY29tfDQwN3wtMTI3MjQ2NDcyNQ==>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Extend-ignite-s-resource-injection-tp407p412.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Extend ignite's resource injection
Posted by yakov <yz...@apache.org>.
It seems that @SpringResource will work for you. Please see javadocs for
details.
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Extend-ignite-s-resource-injection-tp407p411.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Extend ignite's resource injection
Posted by tcostasouza <tc...@gmail.com>.
Hello!
Of course! Sorry for being so vague.
Let's say I've instantiated an Ignite along with a local DataSource
connection pool (i.e. defined in same spring XML). Then, how can I deploy a
Service and have it injected with this local DataSource? (e.g. using
@Inject or @Autowired)
Regards
On Tue, May 26, 2015, 04:34 dsetrakyan [via Apache Ignite Users] <
ml-node+s70518n408h64@n6.nabble.com> wrote:
> tcostasouza wrote
> Is it possible to extend Ignite's injection? When a service is
> instantiated in a node, is there any way to intercept it's instantiation
> and process annotations?
>
> I am not sure I understand the question. Can you please describe exactly
> what you are trying to achieve?
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-ignite-users.70518.x6.nabble.com/Extend-ignite-s-resource-injection-tp407p408.html
> To unsubscribe from Extend ignite's resource injection, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=407&code=dGNvc3Rhc291emFAZ21haWwuY29tfDQwN3wtMTI3MjQ2NDcyNQ==>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Extend-ignite-s-resource-injection-tp407p410.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Extend ignite's resource injection
Posted by dsetrakyan <ds...@apache.org>.
tcostasouza wrote
> Is it possible to extend Ignite's injection? When a service is
> instantiated in a node, is there any way to intercept it's instantiation
> and process annotations?
I am not sure I understand the question. Can you please describe exactly
what you are trying to achieve?
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Extend-ignite-s-resource-injection-tp407p408.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.